全部产品
Search
文档中心

全球加速:DeleteEndpointGroup - 删除终端节点组

更新时间:Apr 10, 2024

调用DeleteEndpointGroup接口删除终端节点组。

接口说明

  • DeleteEndpointGroup 接口属于异步接口,即系统会先返回一个请求 ID,但终端节点组并未删除完成,系统后台的删除任务仍在进行。您可以调用 DescribeEndpointGroup 查询终端节点组的状态:
    • 当终端节点组处于 deleting 状态时,表示终端节点组正在删除中,在该状态下,您只能执行查询操作,不能执行其他操作。
    • 当查询不到该终端节点组时,表示终端节点组删除完成。
  • DeleteEndpointGroup 接口不支持在同一个全球加速实例内并发删除终端节点组。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用背景高亮的方式表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
ga:DeleteEndpointGroupWrite
  • EndpointGroup
    acs:ga:{#regionId}:{#accountId}:endpointgroup/{#endpointGroupId}

请求参数

名称类型必填描述示例值
ClientTokenstring

客户端 Token,用于保证请求的幂等性。

从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。

说明 若您未指定,则系统自动使用 API 请求的 RequestId 作为 ClientToken 标识。每次 API 请求的 RequestId 不一样。
123e4567-e89b-12d3-a456-426655440000
AcceleratorIdstring

全球加速实例 ID。

ga-bp1odcab8tmno0hdq****
EndpointGroupIdstring

要删除的终端节点组 ID。

epg-bp1dmlohjjz4kqaun****

返回参数

名称类型描述示例值
object

返回信息列表。

RequestIdstring

请求 ID。

6FEA0CF3-D3B9-43E5-A304-D217037876A8

示例

正常返回示例

JSON格式

{
  "RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8\t"
}

错误码

HTTP status code错误码错误信息描述
400Resource.QuotaFullThe resource quota is exceeded.该资源数量已达配额上限
400NotExist.EndPointGroupThe endpoint group does not exist.终端节点组不存在
400StateError.EndPointGroupThe specified state of endpoint group is invalid.终端节点组状态非法
400NotExist.ListenerThe listener does not exist.监听器不存在
400NotActive.ListenerThe state of the listener is not active.监听器状态非稳态
400NotExist.AcceleratorThe accelerated instance does not exist.加速实例不存在。
400StateError.AcceleratorThe state of the accelerated instance is invalid.加速实例状态非法。
400StateError.AcceleratorThe status of the GA instance is invalid.-
403Forbbiden.SubUserYou are not authorized to operate on the specified resource because your account was created by another user.该账号为其他账号的子账号,没有操作特定资源的权限。
403ForbiddenThe user is not authorized to operate on the specified resource.该账号没有操作特定资源的权限。
500UnknownErrorAn error occurred while processing your request. Please try again. If the error persists, please submit a ticket.处理请求时出现错误,请稍后重试。

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史