You need to enable JavaScript to run this app.
PrivateLink

PrivateLink

Copy page
Download PDF
Tag
UntagResources - Detaching a resource tag
Copy page
Download PDF
UntagResources - Detaching a resource tag
Call the UntagResources API to delete custom tags from resources.​
Debug​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Action String required Example: UntagResources​
Action to execute. Set the value to UntagResources.​
​
Version String required Example: 2020-04-01​
API version. The current version is 2020-04-01.​
​
ResourceType String required Example: endpointservice​
The resource type. Values:​
  • endpointservice: Endpoint service​
  • endpoint: Interface endpoint​
  • gateway endpoint: Gateway endpoint​
​
ResourceIds.N String required Example: epsvc-2fe630gurkl37k5gfuy33****​
The resource ID.​
tip​
  • N represents the serial number of the resource ID, ranging from 1 to 50.​
  • Separate multiple resource IDs with ampersands (&).​
​
TagKeys.N String required Example: k1​
The key of the custom tag to be deleted from the resource.​
  • N specifies the serial number of the tag key. Valid values: 1-20.​
  • Separate multiple resource IDs with ampersands (&).​
​
​
Response parameters​
RequestId String optional Example: 2021062415303301022514515207C4****​
Request ID.​
​
​
Request examples​
​
GET /?Action=UntagResources&Version=2020-04-01&ResourceType=endpointservice&ResourceIds.1=epsvc-2fe630gurkl37k5gfuy33****&TagKeys.1=k1​
Host: privatelink.cn-guangzhou.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-guangzhou/privatelink/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
Response examples​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "UntagResources",​
"Version": "2020-04-01",​
"Service": "privatelink",​
"Region": "cn-guangzhou"​
},​
"Result": {}​
}​
​
Error codes​
This section displays only the error codes of the current API. For more error codes, see Common error codes.​
​
Status code​
Error codes​
Error message​
Notes​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, the 'XXX'.​
This request does not contain required parameters. Ensure that your request includes all required parameters, such as XXX.​
tip​
Here, XXX represents the name of the missing parameter.​
400​
InvalidIncorrectOrder.Malformed​
The specified index order is malformed.​
The specified index order format is invalid.​
400​
InvalidResourceType.Malformed​
The specified ResourceType is malformed.​
The specified ResourceType parameter format is invalid.​
400​
InvalidTagKey.Malformed​
The specified TagKey is malformed.​
The specified TagKey is invalid.​
400​
LimitExceeded.Resource​
You've reached the limit on the number of resources that you can operate at a time.​
You have reached the maximum number of tags that can be processed in a single request.​
400​
LimitExceeded.TagOperation​
You've reached the limit on the number of tags that you can operate at a time.​
You have reached the maximum number of tag entries that can be operated on in a single request.​
404​
InvalidResource.NotFound​
The specified resource does not exist.​
The specified resource does not exist.​
​
Last updated: 2026.08.13 10:54:50