GetObjectAcl
Updated at:2025-11-03
API description
This command retrieves the access permissions of an object.
Request
-
Request syntax
Plain Text1GET /<ObjectName>?acl HTTP/1.1 2Host: <BucketName>.bj.bcebos.com 3x-bce-date: <Date> 4Authorization: <AuthorizationString> -
Request headers
No special parameters
-
Request parameters
No special parameters
Response
| Name | Types | Description |
|---|---|---|
| accessControlList | Objcet | ACL (Access Control List) |
| +grantee | Objcet | An authorized person |
| ++id | String | Authorized user ID |
| +permission | String | Permissions include: FULL_CONTROL, READ |
Example
-
Request example
Plain Text1GET /ObjectKey?acl HTTP/1.1 2Host: BucketName.bj.bcebos.com 3x-bce-date: 2017-05-01T12:23:49Z 4Authorization: AuthorizationString -
Response example
Plain Text1HTTP/1.1 200 OK 2Date: Wed, 01 Mar 2017 12:25:00 GMT 3Server: BceBos 4x-bce-request-id: 236A23124128905248E5A01 5{ 6 "accessControlList":[ 7 { 8 "grantee":[{ 9 "id":"e13b12d0131b4c8bae959df4969387b8" 10 }], 11 "permission":["FULL_CONTROL"] 12 }, 13 { 14 "grantee":[{ 15 "id":"8c47a952db4444c5a097b41be3f24c94" 16 }], 17 "permission":["READ"] 18 } 19 ] 20}
