Sorry, no results found for "".

Show examples in:
Javascript HTTP
Endpoint info
Available examples

Content Management API > SSO User

Copy editors as SSO users

Copy existing users into SSO users

Returns

Returns an array of resource objects of type sso_user

Examples

import { buildClient } from "@datocms/cma-client-node";
async function run() {
const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const ssoUsers = await client.ssoUsers.copyUsers();
for (const ssoUser of ssoUsers) {
// Check the 'Returned output' tab for the result ☝️
console.log(ssoUser);
}
}
run();