Skip to main content
POST
/
api
/
tags
/
unlink
/
many
Unlink multiple tags from multiple queries
curl --request POST \
  --url https://api.mentionlab.io/api/tags/unlink/many \
  --header 'Content-Type: application/json' \
  --header 'x-organisation-id: <x-organisation-id>' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "tagIds": [
    1,
    2,
    3
  ],
  "queryIds": [
    "01234567-89ab-cdef-0123-456789abcdef",
    "12345678-9abc-def0-1234-56789abcdef0"
  ]
}
'

Headers

x-organisation-id
string
required

Organisation ID to specify the organisation context

x-project-id
string
required

Project ID to specify the project context

Body

application/json
tagIds
number[]
required

IDs of the tags to unlink

Example:
[1, 2, 3]
queryIds
string[]
required

IDs of the queries to unlink the tags from

Example:
[
"01234567-89ab-cdef-0123-456789abcdef",
"12345678-9abc-def0-1234-56789abcdef0"
]

Response

204 - undefined