deleteInstanceTags

Prev Next

Overview

Delete an instance tag.

Request

Request parameters

Parameter name Required Type Restrictions Description
instanceNoList.N Yes List<String> It can't be duplicated. - List of instance numbers from which to delete instance tags
e.g., instanceNoList.1=1088217
instanceTagList.N.tagKey No List<String> - Tag key of the instance to delete
TagKey of the instance can be obtained through the getInstanceTagList action.
e.g., instanceTagList.1.tagKey=tag1
instanceTagList.N.tagValue No List<String> - Tag value of the instance to delete
TagValue of the instance can be obtained through the getInstanceTagList action.
e.g., instanceTagList.1.tagValue=dolphins
responseFormatType No String - Format type of the response result
Options: xml | json
Default: xml

Response

Response body

Examples

Request example

GET {SERVER_API_URL}/deleteInstanceTags
?instanceNoList.1=1021003

Response example

<deleteInstanceTagsResponse>
  <requestId>cb230969-64ba-4aec-8cc9-5ca97dd146a2</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>0</totalRows>
  <instanceTagList/>
</deleteInstanceTagsResponse>