Using Multiple Group Entitlements with a Preexisting Connector

To start using Multiple Group Entitlements with preexisting Google Workspace connectors, complete the following steps:

  1. Use the createSchema API to create new group schema for your source. For more information refer to Create Schema on a Source.

    The following is an example of API body content used to add Project Roles to an existing source.

  2. Update the account schema using the following steps:

    1. Get account schema using the getSchema API. For more information, refer to Get Source Schema by ID.

    2. Copy the schema to a file and search for the attribute corresponding to the group schema added in step 1.

    3. Add/ Update the following two properties for the attribute you find:

      "isGroup": true,

      "schema": {"type": "CONNECTOR_SCHEMA","id": "<Schema_ID_From_Step1>","name": "<Name_Of_Schema_Created_In_Step1>"}

    4. Add the modified schema to the payload to update account schema in source using the replaceSchema API. For more information, refer to Update Source Schema (Full).