• Web Application Firewall

waf
  1. Help Center
  2. Web Application Firewall
  3. API Reference
  4. APIs
  5. Blacklist and Whitelist Rules
  6. Deleting a Blacklist or Whitelist Rule

Deleting a Blacklist or Whitelist Rule

Function Description

This API is used to delete a blacklist or whitelist rule.

URI

  • URI format

    DELETE /v1/{project_id}/waf/policy/{policy_id}/whiteblackip/{whiteblackip_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.

    whiteblackip_rule_id

    Yes

    String

    Specifies the ID of a blacklist or whitelist rule.

Request

Request

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.