Update Vm Tags
Update the list of tags for a specific VM. An empty list of tags means to delete all dags for the VM. If user has edit permission on the VM, user can edit its tags.
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/securityTags/vm/{id}
COPY
Path Parameters
string
id
Required
the URN of the VM to manage tags for.
string
id
Required
the URN of the VM to manage tags for.
Request Body
the list of tags to update.
EntitySecurityTags of type(s) application/json
Required
{
"tags": [
"string"
]
}
array of string
tags
Optional
The list of tags. The value is case-agnostic and will be converted to lower-case.
Responses
200
OK
Returns EntitySecurityTags of type(s) application/json;version=37.0
{
"tags": [
"string"
]
}
array of string
tags
Optional
The list of tags. The value is case-agnostic and will be converted to lower-case.
Availability
Added in 36.0
On This Page
Security Tags Operations
GET
Get Security Tagged Entities
GET
Get Tag Values
GET
Get Vm Tags
PUT
Update Security Tag
PUT
Update Vm Tags