You need to enable JavaScript to run this app.
文档中心
中转路由器

中转路由器

复制全文
下载 pdf
标签
UntagResources-为资源删除用户标签
复制全文
下载 pdf
UntagResources-为资源删除用户标签
调用UntagResources接口,为资源删除用户标签。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action String 必选 示例值:UntagResources​
接口名称。当前 API 的名称为UntagResources。​
​
Version String 必选 示例值:2020-04-01​
接口版本。当前 API 的版本为2020-04-01。​
​
ResourceType String 必选 示例值:transitrouter​
资源的类型,取值如下:​
  • transitrouter:中转路由器实例。​
  • transitrouterroutetable:TR路由表。​
  • transitrouterattachment:实例连接,包括VPC、VPN、专线网关类型网络实例连接和跨地域连接。​
  • transitrouterbandwidthpackage:中转路由器带宽包。​
​
ResourceIds.N String 必选 示例值:tr-273sdsdsxxxxxp8u2j****​
资源的ID。​
  • N:表示资源 ID的序号,单次调用数量上限50个。​
  • 多个资源 ID之间使用&分隔。​
说明​
​
TagKeys.N String 必选 示例值:k1​
待删除用户标签的标签键。不能以空格开头或结尾。​
  • N:表示标签键的序号,取值范围为1~20。​
  • 多个标签键之间使用&分隔。​
说明​
传入的Tags.N.Key不存在或已经解绑时默认返回解绑成功,不报错。​
​
​
返回参数​
本接口无特有的返回参数。更多信息请见返回结构。​
请求示例​
​
GET /?Action=UntagResources&Version=2020-04-01&ResourceType=transitrouter&ResourceIds.1=tr-273sdsdsxxxxxp8u2j****&TagKeys.1=k1 HTTP/1.1​
Host: transitrouter.cn-beijing.volcengineapi.com​
X-Date: 20250815T040737Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250815/cn-beijing/transitrouter/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20250815120741074189044074189428",​
"Action": "UntagResources",​
"Version": "2020-04-01",​
"Service": "transitrouter",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidResourceType.Malformed​
The specified parameter resource type is invalid.​
资源类型不合法。​
400​
InvalidTagKey.Malformed​
The specified parameter tag key is invalid.​
标签键不合法。​
400​
LimitExceeded.Resource​
You've reached the limit on the number of resources that you can operate at a time.​
已达到单次可操作资源数量的上限。​
400​
LimitExceeded.Tags​
You've reached the limit on the number of tags that you can operate at a time.​
已达到单次可操作标签数量的上限。​
404​
InvalidResource.NotFound​
The specified resource does not exist.​
指定的资源不存在。​
​
最近更新时间:2025.12.31 12:18:46
这个页面对您有帮助吗?
有用
有用
无用
无用