Phone Numbers
Delete Phone Number
DELETE
/
phone-number
/
{id}
curl --request DELETE \
--url https://api.vapi.ai/phone-number/{id} \
--header 'Authorization: Bearer <token>'
{
"fallbackDestination": {
"type": "number",
"numberE164CheckEnabled": true,
"number": "<string>",
"extension": "<string>",
"message": "<string>",
"description": "<string>"
},
"provider": "byo-phone-number",
"numberE164CheckEnabled": true,
"id": "<string>",
"orgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"assistantId": "<string>",
"squadId": "<string>",
"serverUrl": "<string>",
"serverUrlSecret": "<string>",
"number": "<string>",
"credentialId": "<string>"
}
Path Parameters
Response
200 - application/json
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url https://api.vapi.ai/phone-number/{id} \
--header 'Authorization: Bearer <token>'
{
"fallbackDestination": {
"type": "number",
"numberE164CheckEnabled": true,
"number": "<string>",
"extension": "<string>",
"message": "<string>",
"description": "<string>"
},
"provider": "byo-phone-number",
"numberE164CheckEnabled": true,
"id": "<string>",
"orgId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"assistantId": "<string>",
"squadId": "<string>",
"serverUrl": "<string>",
"serverUrlSecret": "<string>",
"number": "<string>",
"credentialId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.