Skip to main content
POST
/
queryGroup
/
addQueryIdsToQueryGroup
Update query group with query IDs
curl --request POST \
  --url https://api.diadna.cloud/queryGroup/addQueryIdsToQueryGroup \
  --header 'Content-Type: application/json' \
  --header 'secret-key: <api-key>' \
  --data '
{
  "QueryGroupID": 123,
  "addedQueryIds": [
    "<string>"
  ],
  "removedQueryIds": [
    "<string>"
  ]
}
'
{
  "message": "Query Group Updated Successfully"
}

Authorizations

secret-key
string
header
required

Body

application/json
QueryGroupID
integer
required

ID of the query group

addedQueryIds
string[]
required

List of query IDs to add

removedQueryIds
string[]
required

List of query IDs to remove

Response

200 - application/json

Query group updated successfully

message
string
required
Example:

"Query Group Updated Successfully"