Skip to main content
POST
Unassigns a number you took with Allocate Phone Number, only if it still carries the reference you pass. The check and the unassign are one step, so a late or repeated release can never free a number that has since been allocated to someone else: it answers released: false and changes nothing. Once released, the number is free again and can be allocated to anyone. Its last call date keeps counting, so min_idle_days on the next allocation holds it back for as long as you ask.

Body Parameters

string
required
The number in E.164.
string
required
The reference the number was allocated with. List Phone Numbers returns it as allocation_ref.

Response

string
The number in E.164.
boolean
true when the number was unassigned; false when it was not on your account, was already released, or carries a different reference.