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 必选 示例值:vpc​
资源的类型,取值如下:​
  • vpc:私有网络。​
  • subnet:子网。​
  • eni:网卡。​
  • securitygroup:安全组。​
  • havip:高可用虚拟IP。​
  • routetable:路由表。​
  • networkacl:网络ACL。​
  • flowlog:流日志。​
  • trafficmirrortarget :流量镜像的镜像目的。​
  • trafficmirrorfilter:流量镜像的筛选条件。​
  • trafficmirrorsession:流量镜像的镜像会话。​
  • eip:公网IP。​
  • bandwidthpackage:共享带宽包。​
  • ngw:NAT网关。​
  • vpngateway:VPN网关。​
  • directconnectconnection:物理专线。​
  • directconnectgateway:专线网关。​
  • directconnectvirtualinterface:虚拟接口。​
​
ResourceIds.N String 必选 示例值:vpc-273w3e33y2y9s7fap8u2j****​
资源的ID。​
  • 参数 - N:表示资源 ID的序号,单次调用数量上限50个。​
  • 多个资源 ID之间使用&分隔。​
​
TagKeys.N String 必选 示例值:k1​
待删除用户标签的标签键。​
  • 参数 - N:表示标签键的序号,单次调用数量上限20个。​
  • 多个标签键之间使用&分隔。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
RequestId String 示例值:2021062415303301022514515207C4****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=UntagResources&Version=2020-04-01&ResourceType=vpc&ResourceIds.1=vpc-273w3e33y2y9s7fap8u2j****&ResourceIds.2=vpc-bp15zckdt37pq72zv****&TagKeys.1=k1&TagKeys.2=k2 HTTP/1.1​
Host: vpc.cn-beijing.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-beijing/vpc/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "UntagResources",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****"​
}​
}​
​
错误码​
​
状态码​
错误码​
错误信息​
说明​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。​
400​
InvalidResourceType.Malformed​
The specified parameter resource type is invalid.​
资源类型不合法。​
400​
InvalidResourceType.NotFound​
The specified resource type does not exist.​
指定的资源类型不存在。​
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 one time.​
已达到单次可操作资源数量的上限。​
400​
LimitExceeded.Tags​
You've reached the limit on the number of tags that you can operate at one time.​
已达到单次可操作标签数量的上限。​
404​
InvalidResource.NotFound​
The specified resource does not exist.​
指定的资源不存在。​
​
​
最近更新时间:2026.03.25 17:59:36
这个页面对您有帮助吗?
有用
有用
无用
无用