virtual-private-cloud/api-ref/source/apis/security_group/deleting_a_security_group.rst
proposalbot a539bdd666 Changes to vpc_api-ref from docs/doc-exports#556 (VPC API 20230106 version
VPC

Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2024-02-06 09:16:27 +00:00

1.6 KiB

original_name

vpc_sg01_0004.html

Deleting a Security Group

Function

This API is used to delete a security group.

URI

DELETE /v1/{project_id}/security-groups/{security_group_id}

Table 1 <vpc_sg01_0004__table1939240195259> describes the parameters.

Table 1 Parameter description
Name Mandatory Description
security_group_id Yes Specifies the security group ID, which uniquely identifies the security group.
project_id No Specifies the project ID.

Request Parameters

None

Example Request

DELETE https://{Endpoint}/v1/{project_id}/security-groups/0c4a2336-b036-4fa2-bc3c-1a291ed4c431

Response Parameters

None

Example Response

None

Status Code

See Status Codes <vpc_api_0002>.

Error Code

See Error Codes <vpc_api_0003>.