Show examples in:
List all collaborators

Returns

Returns an array of 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 users = await client.users.list();
users.forEach((user) => {
console.log(user);
});
}
run();