This action is irreversible. The imported number will be removed from Agni, and any inbound dispatch rules pointing to it will stop working. Your number on the external provider is not affected.

Authorizations

X-Api-Key
string
required
Your Agni API key. Find it in your support@ravan.ai under Settings → API Keys.

Path Parameters

id
string
required
The unique ID of the imported phone number to delete.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
curl -X DELETE https://api.ravan.ai/api/v1/phone-numbers/import/019d2a1b-4c5e-7f8a-9b0c-1d2e3f4a5b6c \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true,
  "message": "Imported number deleted successfully"
}