cURL
curl --request DELETE \ --url https://api.voicebot.studio/api/v1/phone-number/{phone_number_id} \ --header 'X-API-Key: <api-key>'
{ "id": "<string>", "provider": "<string>", "number": "<string>", "name": "<string>", "assistantId": "<string>", "squadId": "<string>", "fallbackDestination": { "type": "number", "number": "<string>", "extension": "<string>", "callerId": "<string>", "message": "<string>", "description": "<string>", "numberE164CheckEnabled": true }, "serverUrl": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "orgId": "<string>" }
Delete a phone number.
Successful Response
Show child attributes