Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Deactivate Bucket

POST /object/bucket/{bucketName}/deactivate

Deletes the specified bucket.

bucketNameBucket name to be deleted

Query Parameters

namespaceNamespace associated. If it is null, then current user's namespace is used.

Required Roles

  • SYSTEM_ADMIN


Prerequisites

The following conditions must be met in order to call this operation.

  • Only authenticated users can delete buckets

  • Bucket name should not be null or empty


Request Payload

No Request Payload


Response Body

Response indicating success or failure of the bucket delete operation


Examples

Request
POST https://192.168.0.0:4443/object/bucket/bucket1/deactivate HTTP/1.1

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml