To delete contact in CRM Messaging portal, make a POST call to deleteContact API
curl --location --request POST 'https://app.crm-messaging.cloud/index.php/Api/deleteContact'
--header 'Authorization: Bearer API_TOKEN'
--form 'phone="PHONE_NUMBER"'
Here API_TOKEN can be found in the developer console Text Messaging for Marketers and Sales Reps – CRM Messaging (crm-messaging.cloud)
PHONE_NUMBER is the contact phone number.
Response Code :
200 => Data Deleted successfully
201 => Missing parameter
405 => Method Not Allowed
401 => Something went wrong! Data Not Insert
428 => Bearer Token Not Found!