UntagResources_标签_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

解绑后,如果该标签没有绑定其他任何资源,系统会在 24 小时内自动将其删除。

支持标签的云服务,请参见支持标签的云服务

流控信息

请求速率为500/1(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
tag:UntagResources
Update
全部资源
*
*:UntagResources
*:UnTagResources
vod:UnTagVodResources
dcdn:UntagDcdnResources
ecs:RemoveTags
slb:RemoveTags
rds:RemoveTagsFromResource
oss:DeleteBucketTagging
live:UnTagLiveResources

请求参数

字段名称字段详情
RegionIdstring

地域 ID。取值:展开详情

示例值:cn-hangzhou
ResourceARNarray<string>

资源 ARN(Aliyun Resource Name)。展开详情

示例值:arn:acs:vpc:cn-hangzhou:123456789****:vpc/vpc-bp19dd90tkt6tz7wu****子级条数 <= 101
TagKeyarray<string>

标签键。展开详情

示例值:k1子级条数 <= 21

请求说明

关于公共请求参数的详情,请参见公共参数

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:43D12436-B10F-4469-8136-FD1C5D2B2083
FailedResourcesobject

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidResourceARN.Account
The Account specified in the ResourceARN parameter does not match the actual account, specifically: %s.诊断
400
InvalidResourceARN.FormatError
The format of parameter ResourceARN: %s is not valid, for the correct format, you can refer to the Recommend.诊断
400
InvalidResourceARN.Region
The Region specified in the ResourceARN parameter does not match the RegionId parameter, specifically: %s.诊断
400
InvalidParameter.ResourceType
The parameter resource type: %s in ResourceARN is not valid or not support.诊断
400
InvalidParameter.ServiceCode
The parameter service code: %s in ResourceARN is not valid or not support.诊断
400
InvalidParameter.TagKey
The TagKey parameter is invalid. The following TagKeys are invalid: %s.诊断
400
InvalidParameter.TagValue
The TagValue parameter is invalid. The following TagValues are invalid: %s.诊断
403
Duplicate.TagKey
The Tag.N.Key contains duplicate keys.诊断
403
InvalidParameter.Category
The specified Category is invalid. Valid values are Custom and System.诊断
403
MissingParameter.Createby
You must specify Createby.诊断
403
MissingParameter.ResourceIds
You must specify ResourceIds.诊断
403
NoPermission.Operator
The user is not authorized to operate on the specified resource.诊断
403
NoPermission.SystemTag
The user does not have permission to operate the system tag.诊断
403
NoPermissionKey.Category
Some keys cannot be modified because the user does not have permission.诊断
403
NoPermissionKey.Operator
You are not authorized to operate the tag key.诊断
403
NumberExceed.ResourceIds
The maximum number of ResourceIds is exceeded.诊断
403
NumberExceed.Tags
The maximum number of Tags is exceeded.诊断
403
QuotaExceed.TagsPerResource
The maximum number of tags for each resource is exceeded.诊断
403
Missing.ServiceCode
You must specify ServiceCode.诊断
404
Missing.TagKey
Tag.N.Value has been specified and you must specify Tag.N.Key.诊断
404
MissingParameter.AliUid
You must specify AliUid.诊断
404
MissingParameter.Bid
You must specify Bid.诊断
404
MissingParameter.TagKey
You must specify TagKey.诊断

变更历史

变更时间变更内容概要操作
2024-03-12
变更请求参数TagKey
2024-02-27
变更错误码400
变更错误码403

相关示例