Help & DocumentationAPIsTagAPIs for WritingDisassociate Resources from Tags

Disassociate Resources from Tags

Last updated: 2018-08-07 16:56:08

API Description

This API (DeleteResourceTag) is used to disassociate resources on Tencent Cloud from tags.

Domain name for API request: tag.api.qcloud.com

Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, please see Common Request Parameters.

Parameter Name Required Type Description
tagKey Yes String Tag key
tagValue Yes String Tag value
resource Yes String Six-segment resource tag

Output Parameters

None

Error Codes

Error Code Description
30001 The tag key does not exist
30004 The main account Uin does not exist
30016 The creator Uin does not exist
30003 Incorrect parameter in the six-segment resource tag
30007 The tag does not exist

Example

Input example

https://domain/v2/index.php?Action=DeleteResourceTag&tagKey=t1&tagValue=v1&resource=qcs::cvm:ap-beijing:uin/1234567:instance/ins-123&<Common request parameters>

Output example

{
    "code": 0,
    "message": "",
    "codeDesc": "Success",
    "data": []
}