You need to enable JavaScript to run this app.
导航
DeleteNodeGroup - 删除节点组
最近更新时间:2025.04.22 15:34:59首次发布时间:2025.04.22 11:47:45
我的收藏
有用
有用
无用
无用

调用本接口删除一个节点组。

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

DeleteNodeGroup

要执行的操作,取值:DeleteNodeGroup。

Version
String

2022-01-01

API的版本,取值:2022-01-01。

nodeGroupID
String

ng-2100001281-rslq9

要删除的节点组ID。

您可以调用ListNodeGroup接口获取所有节点组ID。

返回参数

本接口无特有的返回参数。更多信息请见返回结构

请求示例

POST /?Action=DeleteNodeGroup&Version=2022-01-01 HTTP/1.1
Host: open.volcengineapi.com
Content-Type: application/json; charset=UTF-8
X-Date: 20250401T075506Z
X-Content-Sha256: 287e874e******d653b44d21e
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250401/cn-beijing/vei_api/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f

{
  "nodeGroupID": "ng-2100001281-rslq9"
}

返回示例

{
  "ResponseMetadata": {
    "RequestId": "20250401155519147078212099412F38",
    "Action": "DeleteNodeGroup",
    "Version": "2022-01-01",
    "Service": "vei_api",
    "Region": "cn-beijing"
  },
  "Result": {}
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
90000015

The account is not authenticated by real name

账号未实名认证。

400
90000021

The account is not authorized to access project

越权访问其他账号下的项目。

400
90000025

The AI Gateway API Key is only allowed for verified enterprise account

仅支持企业认证账号创建边缘大模型网关密钥。

400
50060002

node group id can not be empty

节点组ID不能为空。

500
90000009

Internal service errors

服务内部错误。