When an user belongs to multiple groups, the role associated to the group with the highest priority will be used
Sso Group's role
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();