curl -X DELETE "https://api.nedzo.ai/v1/phone-numbers/4d1f6b52-8c0e-4a51-9b7d-2f3c4e5a6b7c" \
-H "Authorization: Bearer YOUR_API_KEY"
Phone Numbers
Release a phone number
Release a number. It leaves the workspace and its monthly billing stops.
DELETE
/
phone-numbers
/
{id}
curl -X DELETE "https://api.nedzo.ai/v1/phone-numbers/4d1f6b52-8c0e-4a51-9b7d-2f3c4e5a6b7c" \
-H "Authorization: Bearer YOUR_API_KEY"
This endpoint is for the VIP plan only. Other plans get a
403. See Plan access.This cannot be undone. Agents on the number stop answering and calling from it.
string
required
Phone number UUID
curl -X DELETE "https://api.nedzo.ai/v1/phone-numbers/4d1f6b52-8c0e-4a51-9b7d-2f3c4e5a6b7c" \
-H "Authorization: Bearer YOUR_API_KEY"
204 with no body. A number that was already released returns 404.
Errors
| Status | When |
|---|---|
404 | Phone number not found: the number does not exist, or it is not in this API key’s scope |
500 | The number could not be released. It is still in the workspace. Try again |
Was this page helpful?
