Cancel number

This method will cancel your purchased number. The number you cancel will become available in the numbers pool for anyone to buy.

Please log in to see full path URL. Learn why.
delete
/numbers/1/numbers/{numberKey}
Request rate limit:
1 requests / second (per account)
path Parameters
numberKey
required
string

Unique ID of a number.

Responses

204

No Content

401

Unauthorized

403

Forbidden

404

Not Found

429

Too Many Requests

500

Internal Server Error

Request samples

Example
cURL
Copy
curl -L -g -X DELETE 'https://{baseUrl}/numbers/1/numbers/{numberKey}' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

Response samples

Content type
Copy
Collapse all
{
  • "requestError":
    {
    • "serviceException":
      {
      • "messageId": "UNAUTHORIZED",
      • "text": "Unauthorized"
      }
    }
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.