Update Vm Tags

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.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns EntitySecurityTags of type(s) application/json;version=38.1
{
    "tags": [
        "string"
    ]
}
array of string
tags
Optional

The list of tags. The value is case-agnostic and will be converted to lower-case.