cURL
curl --request DELETE \ --url https://api.attent.app/v1/leads/{leadId} \ --header 'x-api-key: <api-key>'
{ "message": "Lead deletion initiated successfully", "leadId": "771c3bc8-853c-4955-b4c5-2120ff6aa488" }
Deletes a specific lead
The ID of the lead to delete
Lead deleted successfully.
Returns "Lead deletion initiated successfully" when the lead deletion process begins.
"Lead deletion initiated successfully"
The ID of the lead that was deleted.