Delete Phone Number
Release and remove a phone number from your organization.
Endpoint
https://www.tabbly.io/api/phone-numbers/delete
Delete Phone Number
Releases a phone number from your organization.
- Inventory numbers (India stock): removed from your account and returned to available inventory so another organization can buy them. SIP setup on the number is kept for reuse. Wallet is not refunded.
- Other numbers: released from the carrier account when applicable, then removed from your organization.
Deleting is permanent for your organization (you lose ownership immediately). Inventory numbers may become buyable again for others.
Endpoint
http
POST https://www.tabbly.io/api/phone-numbers/deleteAuthentication
See Introduction. This is a POST endpoint — include api_key in the JSON request body.
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
api_key |
string | Yes | Your organization API key |
phone_number |
string | Yes | Number to delete (E.164 or the form returned on buy/list) |
number |
string | No | Alias for phone_number. Use either field; if both are sent, phone_number is used |
Example request
bash
curl -X POST "https://www.tabbly.io/api/phone-numbers/delete" \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_API_KEY",
"phone_number": "+918065830105"
}'Response
Success (200)
json
{
"success": true,
"message": "Phone number released successfully.",
"phone_number": "+918065830105",
"organization_id": 3282,
"tabbly_status": "success"
}Error responses
json
{
"success": false,
"error": "Human-readable error description"
}| HTTP status | When |
|---|---|
| 400 | Missing API key or phone number |
| 401 | Invalid API key |
| 404 | Phone number not found for this organization |
| 405 | Method not POST |
| 502 | Unable to release inventory number |