用于删除ARMS资源实例标签。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
TagKey | array | 否 | 标签键列表,不超过20个。 | |
string | 否 | 标签键。 | Key1 | |
ResourceId | array | 是 | 资源ID,最多50个。 | |
string | 否 | 实例ID。 | c7c13c449eea64fe89870ac658de864b4 | |
ResourceType | string | 是 | 需要修改标签的ARMS资源类型。 | PROMETHEUS |
All | boolean | 否 | 是否全部删除,只针对TagKey.N为空时有效。取值范围:
默认是 false | False |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "FC183B5E-C9AD-5E9E-937F-*******",
"Data": "success"
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | NoPermissionKeyOperator | user is no permission for operating param tagKey. | - |
400 | DuplicateTagKey | Param tagKey is duplicate. | - |
400 | NoPermissionUSER | user no permission | - |
400 | ResourceIdAndTagIsNull | resourceId or tag param must have one | - |
400 | TagISNull | param tag must be not null. | - |
400 | ScopeDisAgreement | Param scope is different from before. | - |
400 | ParameterNextTokenIllegal | param nextToken is invalid. | - |
400 | TagNumOUT | the number of tag is out . | - |
400 | ResourceTypeIllegal | The ResourceType parameter is invalid. | 参数ResourceType非法。 |
400 | ResourceIdIsNull | param resourceId must be not null. | - |
400 | InvalidParameterTagKey | The specified TagKey is invalid. | 参数TagKey是非法的。 |
400 | InvalidParameterTagValue | The specified TagValue is invalid. | 参数TagValue是非法的。 |
400 | TagKeyIsIllegal | The specified TagKey is invalid. | 参数TagKey是非法的。 |
400 | TagValueIsIllegal | The specified TagValue is invalid. | 参数TagValue是非法的。 |
400 | ResourceIDOUT | The specified resourceId number is out of range. | 参数resourceId的个数超出了所规定的范围。 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 | ||||||
---|---|---|---|---|---|---|---|---|
2023-05-12 | OpenAPI 错误码发生变更,OpenAPI 返回结构发生变更 | |||||||
| ||||||||
2023-03-10 | OpenAPI 错误码发生变更 | |||||||
| ||||||||
2022-03-25 | OpenAPI 错误码发生变更 | |||||||
|