Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Delete User Metadata

DELETE /rest/objects/objectID?{metadata/user}

Delete user metadata (listable or non-listable) for the specified object. Pass the name of the metadata tag to delete on the "x-emc-tags" on header in the request. To delete more than one tag, pass the tag names in a comma-separated list. If the request does not include the "x-emc-tags" header, the operation returns an error. You cannot directly delete or modify system metadata.

URL Format

/rest/objects/objectID?{metadata/user}


Query Parameters

metadata/user

Request Headers

"x-emc-date" required
"x-emc-uid" required
"x-emc-signature" required
"x-emc-utf8" requiredOnly required if metadata values are in Unicode.

Request Payload

No Request Payload


Response Body


XML Example

Request
DELETE /rest/objects/4dc19958a10574f404dc199e64fc7204dcbdf1e02269?metadata/user HTTP/1.1
accept: */*
date: Thu, 12 May 2011 14:31:15 GMT
content-type: application/octet-stream
x-emc-date: Thu, 12 May 2011 14:31:15 GMT
x-emc-tags: state,color
host: 10.238.112.140:1234
x-emc-uid: 66371ac3bd8148348c0f3f1545e2da69/test-uid
x-emc-signature: CV/gR6WIcPH9ug3TucLBpNbpdpg=
Response
HTTP/1.1 204 No Content
Date: Thu, 12 May 2011 14:31:18 GMT
Server: Apache
x-emc-policy: _int
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8