DELETE
/
v1
/
convai
/
phone-numbers
/
{phone_number_id}
from elevenlabs import ElevenLabs

client = ElevenLabs(
    api_key="YOUR_API_KEY",
)
client.conversational_ai.delete_phone_number(
    phone_number_id="TeaqRRdTcIfIu2i7BYfT",
)
"<any>"

Headers

xi-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Path Parameters

phone_number_id
string
required

The id of an agent. This is returned on agent creation.

Response

200
application/json

Successful Response

The response is of type any.