• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Nova
  5. Security Group Management
  6. Deleting a Security Group (Discarded)

Deleting a Security Group (Discarded)

Function

This API is used to delete a security group.

Constraints

This API will be discarded.

You are advised to use the desired network API. For details, see "Security Group (Native OpenStack API) > Deleting a Security Group" in Virtual Private Network API Reference.

URI

DELETE /v2.1/{project_id}/os-security-groups/{security_group_id}

Table 1 describes the parameters in the URI.
Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

security_group_id

Yes

Specifies the security group ID, which is specified in the URI.

Request

N/A

Response

N/A

Examples

  • Example request
    DELETE /v2/bb1118612ba64af3a6ea63a1bdcaa5ae/os-security-groups/81f1d23b-b1e2-42cd-bdee-359b4a065a42
    DELETE /v2.1/bb1118612ba64af3a6ea63a1bdcaa5ae/os-security-groups/81f1d23b-b1e2-42cd-bdee-359b4a065a42
  • Example response

    N/A

Returned Values

See General Request Returned Values.