Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Delete Bucket Head Metadata

DELETE /object/bucket/{bucketName}/metadata

Delete a page of head metadata for the specified bucket

bucketNamename of the bucket for which the metadata is to be removed

Query Parameters

headTypethe head-type of the metadata to be removed (HDFS, S3, etc)
namespacenamespace of the bucket

Required Roles

This call has no restrictions.


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/metadata?namespace=dare&headType=CAS 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
> Content-Length: 183
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
Response
< HTTP/1.1 200 OK