Enroll the authenticated user
POST
/api/v1/users/me
const url = 'https://example.com/api/v1/users/me';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/users/me \ --header 'Authorization: Bearer <token>'JIT-enroll the authenticated user, refresh their profile and lastLoginAt, apply bootstrap-admin rules, and warm the access cache. Use this only after an explicit IdP login; do not prefetch, poll, or automatically retry transient failures.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Success
Media type application/json
object
id
required
string
role
string
email
string
displayName
string
idp
string
idpTenant
string
Not authenticated
User is disabled
Authentication service unavailable