DELETE
/
v1
/
blocked_numbers
/
{block_id}
Delete Block Rule
curl --request DELETE \
  --url https://api.bland.ai/v1/blocked_numbers/{block_id} \
  --header 'authorization: <authorization>'
{
  "data": {
    "message": "Block rule deleted successfully",
    "deleted_block_id": 123
  },
  "errors": null
}

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

block_id
number
required
The unique ID of the block rule to delete.

Response

data
object
Confirmation message and ID of the deleted rule.
data.message
string
Success message indicating the block rule was deleted.
data.deleted_block_id
number
The ID of the block rule that was removed.
errors
null|array
null on success, or a list of error objects if the rule was not found or deletion failed.
{
  "data": {
    "message": "Block rule deleted successfully",
    "deleted_block_id": 123
  },
  "errors": null
}