younifyd
Menu

Toggle A Permanent Group

Toggle a permanent group

PATCH/rest/search/v2/admin/pipelines/{pipelineId}/statementGroups/{statementGroupId}

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Toggle A Permanent Group action (under Search).
  3. Fill in the fields below, then reference the result from later steps as {{toggleAPermanentGroup.response.data}}.

Request

Path parameters

pipelineIdstringrequired

The unique identifier of the target query pipeline.

statementGroupIdstringrequired

The unique identifier of the statement group.

Query parameters

organizationIdstring

The unique identifier of the target Coveo Cloud organization. Specifying a value for this parameter is only necessary when you are authenticating the API call with an OAuth2 token.

Request body

Enter the body as JSON in the step's Body field.

isActiveboolean

Whether or not the group is active.

json
{
  "isActive": false
}

Response

Returns 204 with a any. Read it in later steps with {{toggleAPermanentGroup.response.data.<field>}}.

Need more? See the Coveo guide for connection setup and behaviour shared by every action.

Was this page helpful?