Get user by id
Hello
Trying to get a user by Id using the managment api, but the docs only explain HTML queries and not the JS library. How can i provide arguments in to the function?
Example:
Trying to get a user by Id using the managment api, but the docs only explain HTML queries and not the JS library. How can i provide arguments in to the function?
Example:
import { Users, init } from "@kinde/management-api-js";
export default defineEventHandler(async (event) => {
init();
const data = await Users.getUserData();
return data
})