PutBucketPolicy¶
Sets the Bucket Policy
configuration for your bucket.
If the configuration exists, replace it.
You must have Full
ACL to be able to call this action.
The following operations are related to PutBucketPolicy
:
Request Syntax¶
1PUT /?policy HTTP/1.1
2Host: <BUCKET>.s3.tebi.io
3
4{ Policy in JSON format }
The request uses the following URI parameters:
<BUCKET>: Specifies the bucket impacted by the
Bucket Policy
configuration. Required.
The request accepts the Bucket Policy
data in JSON format.
Response Syntax¶
1HTTP/1.1 200
2Content-Length: 0
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
See Also¶
Refer here for more information.