DeleteSecurityGroup_边缘节点服务 ENS_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

删除安全组之前,请确保安全组内不存在实例。

流控信息

请求速率为100/1(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
ens:DeleteSecurityGroup
Delete
全部资源
*

请求参数

字段名称字段详情
SecurityGroupIdstring

安全组 ID。

示例值:sg-bp67acfmxazb4ph***参考取值来源:
    CreateSecurityGroup
    AuthorizeSecurityGroup
    DescribeSecurityGroups

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
MissingParameter
The input parameter that is mandatory for processing this request is not supplied.诊断
400
NoPermission
Permission denied.诊断
400
InvalidParameter.%s
The specified field %s invalid. Please check it again.诊断
400
InvalidParameter
The errorMessage is %s. Please check it again.诊断
400
InvalidSecurityGroupId.NotFound
The specified SecurityGroupId does not exist.诊断
400
SecurityGroupRuleConflict.Duplicated
The SecurityGroup rule already exists.诊断
400
AuthorizationLimitExceed
The limit of authorization records in the security group reaches.诊断
400
SecurityGroupRule.NotFound
The input security group rule does not exist.诊断
400
IncorrectInstanceStatus
The current status of the resource does not support this operation.诊断
400
InvalidInstanceId.NotFound
The specified InstanceId does not exist.诊断
400
DependencyViolation
There is still instance(s) in the specified security group.诊断
400
ens.interface.error
An error occurred while calling the API.诊断
400
CallInterface
Call Interface Happen Error.诊断

变更历史

变更时间变更内容概要操作
2023-12-21
变更错误码400
删除请求参数Version

相关示例