DeleteContact

Function to delete contact

DELETE https://rest.crmango.com/api/DeleteContact

Authorization

1 Sent in the request headers
Bearer varchar

Auth token

Body data

1 Sent in the request body
contact_id integer

Contact id - Reference: GetAllContacts

Response

2 HTTP 200

Function to delete contact

code integer

Return code

message varchar

Info message

Example request

curl --request DELETE \
  --url 'https://rest.crmango.com/api/DeleteContact' \
  --header 'Authorization: Bearer auth_token' \
  --header 'Content-Type: application/json' \
  --data '{
    "contact_id": "integer"
  }'
{
    "code": 200,
    "message": "Contact was successfully deleted"
}