Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Delete Bucket Policy

DELETE /object/bucket/{bucketName}/policy

Deletes the bucket policy for the specified bucket.

bucketNameBucket name for which the policy will be deleted.

Query Parameters

namespaceNamespace of the bucket.

Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • NAMESPACE_ADMIN


Prerequisites

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

  • Bucket must exist.


Request Payload

No Request Payload


Response Body

Response indicating Success or Failure of the operation


XML Example

Request
> DELETE /object/bucket/bucket/policy?namespace=dare HTTP/1.1
> Host: 192.168.0.0:4443
> User-Agent: curl/7.43.0
> Accept: */*
> X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
> Content-Type: application/xml
>
Response
< HTTP/1.1 200 OK