Delete a lead Run in API Explorer
Ask AI
Only an archived lead can be deleted. Soft deletes the lead. Attached contact details and addresses are soft deleted only when nothing else links to them.
DELETE
/api/v1/leads/{uuid}
curl \
--request DELETE 'https://api.plannrcrm.com/api/v1/leads/53f22fe4-3731-4cdc-aa12-e65bd0b15e52' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (403)
{
"message": "This action is unauthorized."
}
Response examples (404)
{
"message": "Not Found"
}
Response examples (409)
Promoted lead
{
"message": "This lead has been promoted to a client and is locked."
}
{
"message": "Archive the lead before deleting it."
}