Delete a phone number
DELETE
/phone-numbers /{id}Remove a phone number from your organization: no call can be placed from it or received on it through Revox anymore. A number bought through Revox is also released, so it stops being billed and cannot be recovered. Returns 400 when the release fails; try again later.
Path parameters
idstringrequiredID of the phone number record, as returned by
GET /phone-numbers(not the phone number itself).
Request body
No body: send the request without one.
Response
200successbooleanTrue when the number was deleted.
Errors
- 400Invalid request: a field or parameter failed validation
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} } - 404Not found in your organization
{ "error": string }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.