cURL
curl --request DELETE \ --url https://server.sellagent.ai/api/phone/delete/{id} \ --header 'Content-Type: <content-type>' \ --header 'x-api-key: <x-api-key>'
{ "success": true, "message": "Phone number deleted successfully" }
Delete an existing phone number
Your API key for authentication
Must be application/json
application/json
Optional workspace ID (defaults to user's current workspace)
The ID of the phone to delete
"+17245868135"
Phone number successfully deleted
true
"Phone number deleted successfully"