Leads - Delete a Lead
DELETE yourdomain.com/api/delete/leads/:id
Header
json
| Field | Type | Description | 
|---|---|---|
| Authorization | String | Basic Access Authentication token. | 
Parameter
json
| Field | Type | Description | 
|---|---|---|
| id | Number | lead unique ID. | 
Success 200
json
| Field | Type | Description | 
|---|---|---|
| status | String | Request status. | 
| message | String | Lead Delete Successful. | 
Error 4xx
json
| Name | Type | Description | 
|---|---|---|
| status | Boolean | Request status. | 
| message | String | Lead Delete Fail. | 
HTTP/1.1 200 OK
{
  "status": true,
  "message": "Lead Delete Successful."
}HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Lead Delete Fail."
}