POST
/
v1
/
accounts
/
delete
curl --request POST \
  --url https://api.bland.ai/v1/accounts/delete \
  --header 'authorization: <authorization>' \
  --header 'encrypted_key: <encrypted_key>'
{
    "status": "success"
}

Headers

authorization
string
required

Your API key for authentication.

encrypted_key
string
required

The encrypted_key to delete.

Response

The status of the request.

  • success - The encrypted key was successfully deleted.
  • error - There was an error deleting the encrypted key.

Special messages:

  • Error deleting Twilio credentials - The encrypted key could not be deleted or already has been deleted.
  • Missing encrypted key - The encrypted_key parameter is missing.
  • none - The encrypted key was successfully deleted.