Setting Account Metadata

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

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: valueaccountURL

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