Delete a Blocking Rule

Method

DELETE

Path

blocking_rules/ID

Request Parameters

None

Response

A JSON object with success, message, and data attributes. The data attribute contains the ID of the deleted blocking rule.

Sample Call

curl -X DELETE https://api.phaxio.com/v2.1/blocking_rules/1234 \
  -u 'API_KEY:API_SECRET'

Sample Response

{
  "success": true,
  "message": "Blocking rule deleted successfully",
  "data": {
    "id": 1234
  }
}