Sorry, no results found for "".
Copy existing users into SSO users
Returns an array of resource objects of type sso_user
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();