- Documentation
Torch Object Storage
API Reference
Bucket
Bucket Policy
GetBucketPolicy
Bucket Policy
GetBucketPolicy
GetBucketPolicy
This API is used to get the bucket policy of a specified bucket.
- This API must be called by the bucket owner or subaccounts of the bucket owner with the GetBucketPolicy permission for the bucket. For detailed instructions on how to achieve access control using bucket policies, see Bucket authorization policy management.
- If the specified bucket policy does not exist and this API is called to get the bucket policy, the server returns the 404 NoSuchBucketPolicy error.
Request parameters and headers
No elements are used.
Last updated: 2026.08.03 10:28:47