- Documentation
VPN Connet
API reference
Tag
UntagResources - Disassociating a custom tag
Tag
UntagResources - Disassociating a custom tag
UntagResources - Disassociating a custom tag
Call the UntagResources API to disassociate a custom tag from a resource.
Instructions
Tags exist only in association with a resource. When a tag is disassociated from all its bound resources, it is automatically deleted.
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
The following only details request parameters specific to this API and key common parameters. For more information, see Common parameters. Action String required Example: UntagResources
The action to perform. Value: UntagResources.
Version String required Example: 2020-04-01
The API version.
ResourceType String required Example: vpngateway
The resource type. Values:
- customergateway: Customer gateway
- vpnconnection: IPsec-VPN connection
- sslvpnserver: SSL VPN server
- sslvpnclientcert: SSL client certificate
ResourceIds.N String required Example: vgw-273w3e33y2y9s7fap8u2j****
The resource ID.
- N represents the sequence number of a resource ID. A maximum of 50 IDs can be specified per call.
- Separate multiple resource IDs with ampersands (&).
TagKeys.N String required Example: k1
The key of the custom tag to be deleted.
- N represents the sequence number of a tag key. A maximum of 20 keys can be speicified per call.
- Separate multiple tag keys with ampersands (&).
Response parameters
Only the response parameters specific to this API are listed below. For more information, see Response structure. RequestId String optional Example: 2021062415303301022514515207C4****
Request ID.
Request examples
GET /?Action=UntagResources&Version=2020-04-01&ResourceType=vpngateway&ResourceIds.1=vgw-273w3e33y2y9s7fap8u2j****&ResourceIds.2=vgw-bp15zckdt37pq72zv****&TagKeys.1=k1&TagKeys.2=k2 HTTP/1.1
Host: vpn.cn-beijing.volcengineapi.com
X-Date: 20251029T033538Z
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251029/cn-beijing/vpn/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
Response examples
"RequestId": "2021062415303301022514515207C4****",
"Action": "UntagResources",
"Version": "2020-04-01",
"RequestId": "2021062415303301022514515207C4****"
Error codes
The following table lists the error codes related to the business logic for this API. For details, see Common error codes. Last updated: 2026.05.09 11:19:50