Release Phone Number
Give a number on the carrier account back to the carrier. Admin only.
Irreversible: the carrier may sell the number to someone else.
confirm must repeat e164_number (422 otherwise). A number TurnCall
still binds is refused (409): unbind it first with
DELETE /v1/phone-numbers/{id}, which leaves it on the account. On the
platform’s shared account (Twilio without an account pair; Telnyx when
the project holds no telnyx credential) only a number this project
bought through POST /v1/phone-numbers/purchase is released (403
otherwise); the project’s own account is not restricted.
Headers
Body
Give a number on the carrier account back to the carrier. Irreversible:
confirm must repeat e164_number exactly, so a release is never a
default, a copied body or a stray true. On Twilio, the account it is
released from is the pair given here, else the platform's TWILIO_*
account, as on a purchase.
^\+[1-9]\d{1,14}$^AC[0-9a-fA-F]{32}$1 - 256The carrier whose account the number is released from.
twilio, telnyx The number being released, repeated (it must equal e164_number). Releasing is irreversible: the carrier may sell the number to someone else.
Response
Successful Response
The response is of type Response Release Phone Number V1 Phone Numbers Release Post · object.