This API is used to delete a security group for an ECS.
POST /v2.1/{project_id}/servers/{server_id}/action
POST /v2/{project_id}/servers/{server_id}/action
Table 2 describes the request parameters.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
removeSecurityGroup |
Yes |
Object |
Specifies the security group to be deleted for an ECS. For details, see Table 3. |
None
POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action
{ "removeSecurityGroup": { "name": "sg-test" } }
None