Skip to main content
DELETE
/
v4
/
bulk
/
tags
Bulk delete tags
curl --request DELETE \
  --url https://api.kit.com/v4/bulk/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tags": [
    {
      "id": 91
    },
    {
      "id": 92
    }
  ]
}
'
{
  "failures": [
    {
      "errors": [
        "Tag does not exist"
      ],
      "tag": {
        "id": 91
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Authenticate API requests via an OAuth token

Body

application/json
tags
object[]
required

Tags to delete, identified by id. Batches of 100 or fewer are processed synchronously (200); larger batches are queued and processed asynchronously (202).

callback_url
string | null

Optional. When the batch is processed asynchronously (more than 100 tags), the results are POSTed to this URL on completion.

Response

Only deletes tags belonging to the authenticated account

failures
object[]
required