Get Bucket Trash Enabling Status
Last Updated:2021-09-13
Interface Description
This interface is used to get the bucket trash enabling status and return the current trash directory name. The directory name is .trash by default. The user must be the source bucket owner with the FULL_CONTROL permission and the destination bucket owner.
Request URI
GET /v1/{bucketName}/?trash
Request Body Parameters
None
Response Body Parameters
None
Request Example
None
Response Example
HTTP/1.1 200 OK
<Common response header>
{
"trashDir" : ".trash/"
}
Error Code
Refer to the universal error code.