Skip to main content
POST
cURL

Authorizations

X-API-Key
string
header
required

Body

application/json

Query definitions to add and/or remove

queryGroupId
number
required

The ID of the query group to edit.

addedQueries
string[]
required

List of new query texts to add. Can be an empty array if only deleting.

deletedQueriesIds
number[]
required

List of query IDs to remove (soft-delete). Can be an empty array if only adding.

comments
string

A comment describing the reason for the edit. Stored as part of the version history.

Response

200 - application/json

Query definitions updated successfully

data
object
required

Response details

version
string
required

API version

env
string
required

Environment name