getUser(userId)
Retrieves a single user by their ID, if the ID is valid. Throws an error otherwise.
const userId = 'my-user-id';
const user = await clerkClient.users.getUser(userId);
getUser(userId)
Retrieves a single user by their ID, if the ID is valid. Throws an error otherwise.
const userId = 'my-user-id';
const user = await clerkClient.users.getUser(userId);