Moves a lead to the trash. A reason is required and is stored for audit. The response body is empty.
curl --request DELETE \
--url https://api.lofty.com/v1.0/leads/{leadId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'{
"deleted": true,
"leadId": "651095960136641"
}Documentation Index
Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
Use this file to discover all available pages before exploring further.
ID of the lead to trash.
x >= 1Free-text reason recorded with the trash operation.
Lead trashed.
The response is of type object.
curl --request DELETE \
--url https://api.lofty.com/v1.0/leads/{leadId} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'{
"deleted": true,
"leadId": "651095960136641"
}