Endpoint

/v1/s3/buckets/{name}/policy

GET

Gets the policy on an S3 bucket.

Parameters

Name Description Required
name Bucket name Yes

Response

Codes

Code Description
200 Return value on success

PUT

Sets the policy on an S3 bucket. The format of the bucket policycan be found here: https://docs.qumulo.com/administrator-guide/s3-api/creating-managing-s3-buckets.html

Parameters

Name Description Required
name Bucket name Yes
allow-remove-self If set to true, the user is able to set a bucket policy that removes their access to set bucket policies on this bucket, otherwise they cannot. If not present, removing self permissions will be denied. No
If-Match ETag for expected version No

Response

Codes

Code Description
200 Return value on success