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}
Authorizations:
Scopes:
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
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g -X DELETE 'https://{baseUrl}/numbers/1/numbers/{numberKey}' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Copy
Collapse all {- "requestError": {
- "serviceException": {
- "messageId": "UNAUTHORIZED",
- "text": "Unauthorized"
}
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See