Remove an address from a lead Run in API Explorer
Ask AI
Detaches the address from the lead and soft deletes it only when no other lead or account is linked to it. Removing the primary address promotes the oldest remaining address.
DELETE
/api/v1/leads/{lead_uuid}/addresses/{uuid}
curl \
--request DELETE 'https://api.plannrcrm.com/api/v1/leads/53f22fe4-3731-4cdc-aa12-e65bd0b15e52/addresses/6a6a176d-52bc-47f2-88c3-141d44059bcf' \
--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": "This lead is archived and cannot be changed."
}