DELETE
/
phone-numbers
/
{phone_number_id}
cURL
curl --request DELETE \
  --url https://api.bolna.ai/phone-numbers/{phone_number_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "The phone number has been removed from your account",
  "state": "deleted"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

phone_number_id
string<uuid>
required

The ID of the phone_number to be deleted

Response

200
application/json

phone number deleted response

The response is of type any.