Skip to main content
PATCH
/
api
/
queries
/
{id}
Update a query (only tags association allowed)
curl --request PATCH \
  --url https://api.mentionlab.io/api/queries/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-organisation-id: <x-organisation-id>' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "tagIds": [
    1,
    2,
    3
  ]
}
'

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

Path Parameters

id
string<uuid>
required

Body

application/json
tagIds
number[]

List of tag IDs to associate with this query

Example:
[1, 2, 3]

Response

204 - undefined