Remove specific tags from a lead
cURL
curl --request POST \ --url https://api.attent.app/v1/leads/{leadId}/tags/remove \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "tagIds": [ "tag1", "tag3" ] } '
{ "tags": [ { "id": "tag2", "name": "Interested" }, { "id": "tag4", "name": "Follow Up Required" } ] }
The ID of the lead to remove tags from
Array of tag IDs to remove from the lead
Tags successfully removed.
Array of remaining tags assigned to the lead
Show child attributes