POST
/
v1
/
inbound
/
{phone_number}
/
delete
curl --request POST \
  --url https://api.bland.ai/v1/inbound/{phone_number}/delete \
  --header 'authorization: <authorization>' \
  --header 'encrypted_key: <encrypted_key>'
{
  "status": "success",
  "message": "Successfully deleted number from database: +15555555555"
}

Headers

authorization
string
required

Your API key for authentication.

encrypted_key
string
required

The encrypted_key for the Twilio account that owns the phone number you want to delete.

Path

phone_number
string
required

The phone number you want to remove from Bland’s system.

Response

status
string

Can be success or error.

message
string

A message saying whether the deletion succeeded, or a helpful message describing why it failed.