Removes tags from one or more Network Load Balancer (NLB) resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nlb:UntagResources |
delete |
ServerGroup
SecurityPolicy
LoadBalancer
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceId |
array |
Yes |
The ID of the resource. You can specify at most 50 resource IDs in each call. |
|
|
string |
No |
The ID of the resource. You can specify at most 50 resource IDs in each call. |
nlb-nrnrxwd15en27r**** |
|
| TagKey |
array |
No |
The keys of the tags that you want to remove. You can remove at most 20 tags in each call. |
|
|
string |
No |
The key of the tag that you want to remove. You can remove at most 20 tags in each call. Note
If you do not specify the TagKey parameter, all tags on the specified resource are removed. |
env |
|
| All |
boolean |
No |
Whether to remove all tags from the specified resource. Valid values:
|
false |
| ResourceType |
string |
Yes |
The type of the resource. Valid values:
|
loadbalancer |
| DryRun |
boolean |
No |
Whether to perform a dry run without sending the request. Valid values:
|
true |
| ClientToken |
string |
No |
The client token used to ensure the idempotence of the request. You can use the client to generate the token, which must be unique across requests. The client token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID is different for each request. |
123e4567-e89b-12d3-a456-426655440000 |
| RegionId |
string |
No |
The region ID of the resource. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
54B48E3D-DF70-471B-AA93-08E683A1B45 |
Examples
Success response
JSON format
{
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B45"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam | The param of %s is illegal. | |
| 403 | Forbidden.NoPermission | Authentication is failed for NoPermission. | Authentication is failed for NoPermission. |
| 404 | ResourceNotFound.loadBalancer | The specified resource of loadbalancer is not found. | The specified load balancer resource was not found. Please check the input parameters. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.