Skip to main content
POST
/
leads
/
{leadId}
/
tags
/
remove
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"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

leadId
string
required

The ID of the lead to remove tags from

Body

application/json

Array of tag IDs to remove from the lead

tagIds
string[]
required

Array of tag IDs to remove from the lead

Response

Tags successfully removed.

tags
object[]

Array of remaining tags assigned to the lead

I