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
}
Permanently delete a 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
}
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
}
Was this page helpful?