删除服务组。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
POST /services/group/delete HTTP/1.1
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
body | object | 否 | 请求 body。 | |
serviceGroupId | long | 否 | 服务 ID。 | 1000 |
clientToken | string | 否 | 幂等号。 | C4BE3837-1A13-413B-A225-2C88188E8A43 |
返回参数
示例
正常返回示例
JSON
格式
{
"requestId": "C4BE3837-1A13-413B-A225-2C88188E8A43"
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | DeleteServiceGroupFail | Failed to delete the service group. | 删除服务组失败 |
400 | ServiceGroupNotExisted | The service group does not exist. | 服务组不存在 |
400 | DeleteServiceGroupFail | The service group has been associated with route rule. | 服务组已关联流转规则 |
402 | DeleteServiceGroupFail | The service group has been associated with escalationPlan. | 删除失败,该服务组是升级策略通知对象 |
访问错误中心查看更多错误码。