DeleteLead

Function permanently deletes a lead

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

Authorization

1 Sent in the request headers
Bearer varchar

Auth token

Body data

0 Sent in the request body

This endpoint takes no body parameters

Response

2 HTTP 200

Function permanently deletes a lead

code integer

Return code

message varchar

Info message

Example request

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