• 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 Rule (Discarded)

Deleting a Security Group Rule (Discarded)

Function

This API is used to delete a security group rule.

Constraints

This API will be discarded.

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 Rule" in Virtual Private Network API Reference.

URI

DELETE /v2.1/{project_id}/os-security-group-rules/{security_group_rule_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_rule_id

Yes

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

Request

N/A

Response

N/A

Examples

  • Example request
    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
  • Example response

    N/A

Returned Values

See General Request Returned Values.