Removes tags from resources.
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /2021-04-06/tag
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
body | object | Yes | The details of the resource from which you want to remove tags. | |
resourceArn | string | Yes | The Alibaba Cloud Resource Name (ARN) of the resource. NoteYou can use the value of this parameter to query the information about the resource, such as the account, service, and region information of the resource. You can manage tags only for services for top level resources. | acs:fc:cn-shanghai:188077086902****:services/demo |
tagKeys | array | No | The keys of the tags that you want to remove. | |
string | No | The tag key. | k1 | |
all | boolean | No | Specifies whether to remove all tags. This parameter takes effect only when no tag key is specified. Valid values:
| false |
X-Fc-Account-Id | string | No | The ID of your Alibaba Cloud account. | 188077086902**** |
X-Fc-Date | string | No | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format. | Wed, 11 May 2022 09:00:00 GMT |
X-Fc-Trace-Id | string | No | The custom request ID. | my-test-trace-id |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2021-06-29 | The input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-06-29 | The input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-06-29 | The input parameters of the API operation change. | |||||||||||||||
|