forked from docs/doc-exports
move doc sources to other location Reviewed-by: OpenTelekomCloud Bot <None>
8.9 KiB
8.9 KiB
Deleting a Security Group
Function
This API is used to delete a security group for an ECS.
URI
POST /v2.1/{project_id}/servers/{server_id}/action
POST /v2/{project_id}/servers/{server_id}/action
Table 1 describes the parameters in the URI.
Request
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. |
Response
None
Example Request
POST https://{endpoint}/v2.1/{project_id}/servers/{server_id}/action
{ "removeSecurityGroup": { "name": "sg-test" } }
Example Response
None
Returned Values
Parent topic: Security Group Management