• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Buckets
  5. GET Bucket policy

GET Bucket policy

You can use this operation to return the policy of a specified bucket.

Only the bucket owner or users granted the s3:GetBucketPolicy permission can get the bucket policy.

If the bucket specified in this operation does not have a policy, OBS returns 404 error NoSuchBucketPolicy.