Deletes tags from a resource.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:UnTagResource |
update |
*All Resource
|
None | None |
Request syntax
PUT /2021-04-06/tag HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The details of the untag resource request. |
acs:fc:cn-shanghai:188077086902****:services/demo |
| resourceArn |
string |
Yes |
The identity of the Alibaba Cloud resource. Note
You can use this parameter to confirm the account, service, and region to which the resource belongs. Currently, only Related operations of labels can be performed on top-level resource services. |
acs:fc:cn-shanghai:188077086902****:services/demo |
| tagKeys |
array |
No |
The list of tag keys to delete. |
|
|
string |
No |
The tag key. |
k1 |
|
| all |
boolean |
No |
Specifies whether to delete all tags. This parameter takes effect only when no tag keys are specified. Valid values:
|
false |
| X-Fc-Account-Id |
string |
No |
Your Alibaba Cloud account ID. |
188077086902**** |
| X-Fc-Date |
string |
No |
The start date of the function invocation, in the format of EEE,d MMM yyyy HH:mm:ss GMT. |
Wed, 11 May 2022 09:00:00 GMT |
| X-Fc-Trace-Id |
string |
No |
The custom request ID. |
my-test-trace-id |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.