Show examples in:
    Update a SSO group

    Body Parameters

    priority  Required  integer  Example: 1

    When an user belongs to multiple groups, the role associated to the group with the highest priority will be used

    role  Required  { type: "role", id: role.id }

    Sso Group's role

    Returns

    Returns a sso_group resource object.

    Examples

    Example Basic example
    import { buildClient } from '@datocms/cma-client-node';
    async function run() {
    const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
    const ssoGroupId = '312';
    const ssoGroup = await client.ssoGroups.update(ssoGroupId, {
    priority: 1,
    role: {
    type: 'role',
    id: '34'
    }
    });
    console.log(ssoGroup);
    }
    run();