• Native OpenStack API

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

Deleting Security Group Rules

Function Description

This interface is used to delete a security group rule.

URI

  • URI format

    DELETE /v2/{tenant_id}/os-security-group-rules /{security_group_rule_id}

    DELETE /v2.1/{tenant_id}/os-security-group-rules /{security_group_rule_id}

  • Parameter description

    Parameter

    Mandatory

    Description

    tenant_id

    Yes

    Specifies the tenant or project ID.

    security_group_rule_id

    Yes

    Specifies the security group rule 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 invoke this interface.

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

Request

N/A

Response

N/A

Request Example

DELETE /v2/3d72597871904daeb6887f75f848b531/os-security-group-rules/012fa2c6-bf4a-4b0b-b893-70d0caee81c7
DELETE /v2.1/3d72597871904daeb6887f75f848b531/os-security-group-rules/012fa2c6-bf4a-4b0b-b893-70d0caee81c7

Response Example

N/A

Returned Values

See General Request Returned Values.