Delete Contact

DELETE/api/delete/contacts/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
customer_id Number unique Customer id
curl -X DELETE "https://yoursite.com/api/delete/contacts/123" \
  -H "authtoken: YOUR_API_TOKEN"

Success-Response:

HTTP/1.1 200 OK
{
  "status": true,
  "message": "Contact Deleted Successfully"
}

Error-Response:

HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Contact Delete Fail"
}
MethodDELETE
Path/api/delete/contacts/{id}
GroupContacts
Sincev0.1.0
Defined inmodules/api/controllers/Contacts.php