Updated on 2024-04-15 GMT+08:00

Deleting a Security Group Rule

Function

This API is used to delete a security group rule.

URI

DELETE /v3/{project_id}/vpc/security-group-rules/{security_group_rule_id}

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

For details about how to obtain a project ID, see Obtaining a Project ID.

security_group_rule_id

Yes

String

Security group rule ID.

Request Parameter

None

Example Request

  • Delete a single security group rule.
    "DELETE https://{Endpoint}/v3/{project_id}/vpc/security-group-rules/01a772b2-463e-47e3-a95d-bac85ee8adc6"

Response Parameter

None

Example Response

None

Status Code

See Status Codes.

Error Code

See Error Codes.