Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Set Object Meta Data

POST /v1/{account}/{container}/{object}

Updates arbitrary key/value metadata. Metadata must be in the format X-Object-Meta-*. You can also assign X-Delete-At or X-Delete-After to expiring objects. You cannot use this operation to change other headers, such as Content-Type.

URL Format

v1/{account}/{container}/{object}

Request Headers

X-Object-Meta optionalContainer metadata. * represents the name of metadata.
X-Delete-At optionalCertain date, in the format of a Unix Epoch timestamp, when the object will be removed. Stored in header.
X-Delete-After optionalCertain date, in the format of a Unix Epoch timestamp, after which the object will be removed. Stored in header.

Prerequisites

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

  • The object must exist.


Request Payload

No Request Payload


Response Headers

no_name alwaysobject metadata

Response Body

Response indicating Success or Failure for this operation.