DELETE
/
leads
/
{leadId}
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"
}

Authorizations

x-api-key
string
header
required

Path Parameters

leadId
string
required

The ID of the lead to delete

Response

Lead deleted successfully.

message
string

Returns "Lead deletion initiated successfully" when the lead deletion process begins.

leadId
string

The ID of the lead that was deleted.