younifyd
Menu

Update Source Permissions

Update source permissions

PUT/rest/organizations/{organizationId}/sources/{sourceId}/permissions/update

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Update Source Permissions action (under Source).
  3. Fill in the fields below, then reference the result from later steps as {{updateSourcePermissions.response.data}}.

Request

Path parameters

organizationIdstringrequired
sourceIdstringrequired

Request body

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

permissionBehaviorstring

One ofUseCrawlerOverrideMerge

permissionsobject
permissionLevelsarray<object>2 fields
json
{
  "permissionBehavior": "UseCrawler",
  "permissions": {
    "permissionLevels": [
      {
        "name": "string",
        "permissionSets": [
          {
            "allowAnonymous": false,
            "allowedPermissions": [
              null
            ],
            "deniedPermissions": [
              null
            ],
            "name": "string"
          }
        ]
      }
    ]
  }
}

Response

Returns 200 with a oneOf. Read it in later steps with {{updateSourcePermissions.response.data.<field>}}.

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

Update Source Permissions — Coveo — Documentation