Delete Access Permission for an Object
Updated at:2025-11-03
API description
This API is used to remove access permissions for an object.
Notes:
- If archive storage class objects have not been fully restored, or if archive storage class files were recently uploaded (refer to the restoration duration for details), the Object ACL cannot be deleted.
Request URI
DELETE /v1/{bucketName}/{objectKey}?acl
| Parameter name | Parameter type | Required or not | Description | Example value | Parameter location |
|---|---|---|---|---|---|
| bucketName | String | Yes | Bucket name | "bucketName_example" | Path |
| objectKey | String | Yes | Object name | "objectKey_example" | Path |
Parameters of request body
Description of the data structure of request body fields
Response body parameters
Description of the data structure of response body fields
Request example
JSON
1DELETE /v1/bucketName_example/objectKey_example?acl
2 <Common request headers>
3{ }
Response example
JSON
1HTTP/1.1 200 OK
2 <Common response headers>
3{ }
Error code
Please refer to the general error codes
