Skip to main content
POST
Release Phone Number

Headers

authorization
string | null

Body

application/json

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.

e164_number
string
required
Pattern: ^\+[1-9]\d{1,14}$
twilio_account_sid
string | null
Pattern: ^AC[0-9a-fA-F]{32}$
twilio_auth_token
string | null
Required string length: 1 - 256
carrier
enum<string>
default:twilio

The carrier whose account the number is released from.

Available options:
twilio,
telnyx
confirm
string | null

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.