Setting Account Metadata

Custom metadata are arbitrary key-value pairs associated with an account. You may create any custom or arbitrary metadata you need.

Any user with the Service Administrator role can perform this task.

For information about setting account metadata by using the REST API, see Create or Update Account Metadata in OpenStack Object Storage Service API Reference. The Java library does not support this.

cURL Command Syntax

curl -v -X POST \
     -H "X-Auth-Token: token" \
     -H "X-Account-Meta-Name: value" \
     accountURL

cURL Command Example

curl -v -X POST \
     -H "X-Auth-Token: AUTH_tkb4fdf39c92e9f62cca9b7c196f8b6e6b" \
     -H "X-Account-Meta-Owner: IT" \
     https://storage.us2.oraclecloud.com/v1/Storage-ORACLEGENZ138479113098