Queries the access control list (ACL) of a bucket.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
BucketName | string | No | The name of the bucket. | test |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "5C881388-2D4B-46F4-A96B-D4E6BD0886A2",
"BucketAcl": "private"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Invalid%s | Specified parameter %s is not valid. | - |
400 | InvalidBucketName | Specified parameter BucketName is not valid. | - |
400 | NoPermission | Permission denied. | - |
400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | - |
403 | AccessDenied | auth is not valid | - |
404 | NoSuchBucket | The specified bucket does not exist. | The requested bucket does not exist. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history