Show examples in:
Sync SSO provider groups to DatoCMS roles

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.copyRoles(ssoGroupId);
console.log(ssoGroup);
}
run();