Copy editors as SSO users
Copy existing users into SSO users
Returns
Returns an array of
sso_user resource objects.
Examples
Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const ssoUsers = await client.ssoUsers.copyUsers();
ssoUsers.forEach((ssoUser) => {
console.log(ssoUser);
});
}
run();