You can call this operation to modify the relationship between tags and servers or services.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyTagWithUuid

The operation that you want to perform. Set the value to ModifyTagWithUuid.

MachineTypes String No ecs

The asset type to be modified.

TagId String No 7E0618A9-D5EF-4220-9471-C42B5E92719F

The ID of the tag to be modified.

TagList String No ac,ad

The list of tags to be modified.

UuidList String No 111-xx,aa-bb

The list of servers to be modified.

Response parameters

Parameter Type Example Description
RequestId String "requestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=ModifyTagWithUuid
&<Common request parameters>

Sample success responses

XML format

<ModifyTagWithUuid>
	  <code>200</code>
	  <requestId>7E0618A9-D5EF-4220-9471-C42B5E92719F</requestId>
	  <success>true</success>
    </ModifyTagWithUuid>

JSON format

{
	"requestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F",
	"code":200,
	"success":true
}

Error codes

For more information about error codes, visit API Error Center.