All Products
Search
Document Center

ENS:GetBucketAcl

Last Updated:Jul 26, 2024

Queries the access control list (ACL) of a bucket.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
BucketNamestringNo

The name of the bucket.

test

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

5C881388-2D4B-46F4-A96B-D4E6BD0886A2
BucketAclstring

The ACL of the bucket.

private

Examples

Sample success responses

JSONformat

{
  "RequestId": "5C881388-2D4B-46F4-A96B-D4E6BD0886A2",
  "BucketAcl": "private"
}

Error codes

HTTP status codeError codeError messageDescription
400Invalid%sSpecified parameter %s is not valid.-
400InvalidBucketNameSpecified parameter BucketName is not valid.-
400NoPermissionPermission denied.-
400InvalidParameter.%sThe specified field %s invalid. Please check it again.-
403AccessDeniedauth is not valid-
404NoSuchBucketThe 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 timeSummary of changesOperation
No change history