• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Nova
  5. Security groups
  6. Deleting a Security Group

Deleting a Security Group

Function Description

This interface is used to delete a security group.

URI

  • URI format

    DELETE /v2/{tenant_id}/os-security-groups/{security_group_id}

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

  • Parameter description

    Parameter

    Mandatory

    Description

    tenant_id

    Yes

    Specifies the tenant or project ID.

    security_group_id

    Yes

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

Restrictions

This interface will become invalid from micro version 2.36. Since this version, the system will return error 404 when you call this interface.

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

Request

N/A

Response

N/A

Request Example

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

Response Example

N/A

Returned Values

See General Request Returned Values.