Release a dedicated number
POST
/v1/numbers/{number_id}/release// Releasing stops the monthly charge and the number stops working for you.
// Only a dedicated number can be released; a shared one answers E14002.
await bird.numbers.release("nda_01krdgeqcxet5s7t44vh8rt9mg");# Releasing stops the monthly charge and the number stops working for you.
# Only a dedicated number can be released; a shared one answers E14002.
client.numbers.release("nda_01krdgeqcxet5s7t44vh8rt9mg")// Only a dedicated number can be released; a shared one answers E14002.
if err := client.Numbers.Release(context.Background(), "nda_01krdgeqcxet5s7t44vh8rt9mg"); err != nil {
log.Fatal(err)
}// Releasing stops the monthly charge and the number stops working for you.
// Only a dedicated number can be released; a shared one answers E14002.
$bird->numbers->release('nda_01krdgeqcxet5s7t44vh8rt9mg');bird numbers release <number-id> --yescurl -X POST "https://us1.platform.bird.com/v1/numbers/{number_id}/release" \
-H "Authorization: Bearer $TOKEN"Releases one of your workspace's dedicated numbers now and stops its monthly charge. Your workspace can no longer use the number after release, and the rest of the current billing period is not refunded. This also releases a number already scheduled for cancellation. While a renewal payment for the number is overdue, the request answers 409 until it is paid. To keep the number until the end of the period you paid for, use DELETE /v1/numbers/{number_id} instead. Shared numbers belong to Bird-managed shared infrastructure and cannot be released from your workspace.
Paramètres
number_idstringIdentifier of the number to release, as returned in the id field of GET /v1/numbers.
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet.