HCP Tenant Management Help
Here's a sample POST request that updates the metadata of an object named sales_quotas_2013.pdf which has the existing custom metadata property/value pair business/campaign. The request updates the metadata property/value pair to business/finance.
Request with curl command line
curl -k -i -X POST http://api.hcp.example.com/swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance/sales_quotas_2013.pdf -H "X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87" -H "X-Object-Meta-business: finance"
Request headers
POST /swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance/sales_quotas_2013.pdf HTTP/1.1
X-Object-Meta-author: P.D Grey
X-Object-Meta-Book: Book 1
X-Object-Meta-Info: Info 1
X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87
Response headers
HTTP/1.1 202 Accepted
Content-Length: 76
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx4d9b4f1cd99e437fb9e79-0054206e7d
Date: Mon, 22 Sep 2013 18:46:21 GMT
Trademarks and Legal Disclaimer
© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.