Updated on 2022-02-22 GMT+08:00

Deleting a Precise Protection Rule

Function Description

This API is used to delete a precise protection rule.

URI

  • URI format

    DELETE /v1/{project_id}/waf/policy/{policy_id}/custom/{custom_rule_id}

  • Parameter description
    Table 1 Path parameters

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Specifies the project ID.

    policy_id

    Yes

    String

    Specifies the policy ID.

    custom_rule_id

    Yes

    String

    Specifies the ID of a precise protection rule.

Request

Request parameters

None

Response

Response parameters

None

Status Code

Table 2 describes the normal status code returned by the API.
Table 2 Status code

Status Code

Description

Meaning

204

No Content

The server successfully processed the request and is not returning any content.

For details about error status codes, see Status Codes.