Update access to an Object Storage bucket

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

📘

You can use the S3 API for more fine-grained control of the CORS or S3 canned 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

If true, the API enables cross-origin resource sharing for all origins on the bucket.

Responses

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