删除已有的服务标签。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
eas:DeleteServiceLabel |
update |
*Service
|
无 | 无 |
请求语法
DELETE /api/v2/services/{ClusterId}/{ServiceName}/label HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ClusterId |
string |
是 |
服务所在区域。 |
cn-shanghai |
| ServiceName |
string |
是 |
服务名称。如何查看服务名称,请参见 ListServices 。 |
foo |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
Keys
deprecated
|
array |
否 |
要删除的服务标签。 |
|
|
string |
否 |
服务标签 key 列表。 |
key1,key2 |
|
| LabelKeys |
array |
否 |
||
|
string |
否 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
40325405-579C-4D82**** |
| Message |
string |
请求返回信息。 |
Succeed to delete service [service_from_zxxx] labels. |
示例
正常返回示例
JSON格式
{
"RequestId": "40325405-579C-4D82****",
"Message": "Succeed to delete service [service_from_zxxx] labels."
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。