Allow access to an Object Storage bucket

Apply basic cross-origin resource sharing (CORS) and S3 canned access control list (ACL) settings.

📘

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: object_storage:read_write
Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
string
required

Identifies a region where this bucket lives.

📘

You can use a clusterId in place of regionId in requests for buckets that you created using the legacy version of the API. Run List clusters to see each cluster id.

string
required

The bucket name.

Body Params
string
enum

The S3 predefined collection of grantees and permissions set for the bucket, also referred to as a Canned ACL.

Allowed:
boolean | null

Whether cross-origin resource sharing (CORS) is enabled for all origins in the bucket.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json