
Assign tags
id | the URN of a ViPR resource |
All parameters are required unless otherwise stated.
Field | Description | Type | Notes |
<tag_changes> | |||
<add> | String |
0-* Elements Valid Values:
|
|
<remove> | String |
0-* Elements Valid Values:
|
|
</tag_changes> |
No data returned in response body
Field | Description | Type | Notes |
<tags> | |||
<tag> | A set of tags | String |
0-* Elements |
</tags> |
PUT https://192.168.0.0:4443/vdc/auto-tier-policies/urn:storageos:AutoTieringPolicy:9088146a-fa8a-4e45-9834-89bb62cd505b:/tags HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <tag_changes> <add>alpha</add> <remove>beta</remove> </tag_changes>
HTTP/1.1 200 OK Content-Type: application/xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <tags> <tag>alpha</tag> </tags>