Skip to main content
POST
/
update-query-group-status
cURL
curl --request POST \
  --url https://api.mindshare.so/customer/v1/update-query-group-status \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "queryGroupId": 123,
  "status": "Active"
}
'
{
  "data": {
    "message": "<string>"
  },
  "version": "<string>",
  "env": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Query Group status update details

queryGroupId
number
required

The ID of the query group to update.

status
enum<string>
required

The new status for the query group.

Available options:
Active,
Not Active,
Pause

Response

200 - application/json

Query group status updated successfully

data
object
required

Response details

version
string
required

API version

env
string
required

Environment name