Skip to main content
DELETE
/
v1.0
/
leads
/
{leadId}
Delete Lead
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.

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Path Parameters

leadId
integer<int64>
required

ID of the lead to trash.

Required range: x >= 1

Query Parameters

reason
string
required

Free-text reason recorded with the trash operation.

Response

Lead trashed.

The response is of type object.