cURL
curl --request DELETE \ --url https://api.puretalk.ai/api/phone-numbers/{phone_number_id} \ --header 'X-API-KEY: <api-key>'
{ "err": false, "msg": "Phone number deleted successfully." }
Delete a phone number based on the ID supplied
Authorization header containing API key. You can find your API key in the dashboard under 'API Keys'.
ID of phone number to delete
Phone number deleted
Indicates if there was an error
false
A success message
"Phone number deleted successfully."
Was this page helpful?