Sorry, no results found for "".
Returns an array of resource objects of type sso_group
1import { buildClient } from "@datocms/cma-client-node";2 3async function run() {4 const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });5 6 const ssoGroups = await client.ssoGroups.list();7 8 for (const ssoGroup of ssoGroups) {9 // Check the 'Returned output' tab for the result ☝️10 console.log(ssoGroup);11 }12}13 14run();
1{2 id: "312",3 name: "Admin",4 priority: 1,5 role: { type: "role", id: "34" },6 users: [{ type: "sso_user", id: "312" }],7}