Platform O&M/Tag Operations
PUTTag OperationsSince 3.2.0SynchronousAuth Required
UpdateTag
UpdateTag
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredThe resource UUID.
Body Fields
updatetagObjectRequiredupdatetag request body object.
nameStringOptional. The resource name.
valueStringOptional. The tag value.
descriptionStringOptional. The detailed description of the resource.
colorStringOptional. The tag color.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
PUT/zstack/v1/tags/{uuid}/actions
/zstack/v1/tags/{uuid}/actions
Request Example
curl -X PUT 'http://{host}/zstack/v1/tags/{uuid}/actions' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"updatetag":{"name":"<name>","value":"<value>","description":"<description>","color":"<color>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{}Change History
This API has no change history records yet.
