调用DeleteEndpointGroup接口删除终端节点组。
接口说明
- DeleteEndpointGroup 接口属于异步接口,即系统会先返回一个请求 ID,但终端节点组并未删除完成,系统后台的删除任务仍在进行。您可以调用 DescribeEndpointGroup 查询终端节点组的状态:
当终端节点组处于 deleting 状态时,表示终端节点组正在删除中,在该状态下,您只能执行查询操作,不能执行其他操作。
当查询不到该终端节点组时,表示终端节点组删除完成。
DeleteEndpointGroup 接口不支持在同一个全球加速实例内并发删除终端节点组。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ga:DeleteEndpointGroup |
delete |
*EndpointGroup
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 说明
若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。 |
123e4567-e89b-12d3-a456-426655440000 |
| AcceleratorId |
string |
否 |
全球加速实例 ID。 |
ga-bp1odcab8tmno0hdq**** |
| EndpointGroupId |
string |
是 |
要删除的终端节点组 ID。 |
epg-bp1dmlohjjz4kqaun**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回信息列表。 |
||
| RequestId |
string |
请求 ID。 |
6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
示例
正常返回示例
JSON格式
{
"RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8\t"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Resource.QuotaFull | The resource quota is exceeded. | 该资源数量已达配额上限 |
| 400 | NotExist.EndPointGroup | The endpoint group does not exist. | 终端节点组不存在 |
| 400 | StateError.EndPointGroup | The specified state of endpoint group is invalid. | 终端节点组状态非法 |
| 400 | NotExist.Listener | The listener does not exist. | 监听器不存在 |
| 400 | NotActive.Listener | The state of the listener is not active. | 监听器状态非稳态 |
| 400 | NotExist.Accelerator | The accelerated instance does not exist. | 加速实例不存在。 |
| 400 | StateError.Accelerator | The state of the accelerated instance is invalid. | 加速实例状态非法。 |
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | 处理请求时出现错误,请稍后重试。 |
| 403 | Forbbiden.SubUser | You are not authorized to operate on the specified resource because your account was created by another user. | 该账号为其他账号的子账号,没有操作特定资源的权限。 |
| 403 | Forbidden | The user is not authorized to operate on the specified resource. | 该账号没有操作特定资源的权限。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。