Playground

Playground

Session

/api/v1/sessions

An issued access + refresh token bundle for a user.

meloginvalidaterefreshrevokechangePasswordforgotPasswordresetPasswordcreateInviteacceptInviteclientCredentials

Schema

FieldTypeNotes
token*stringShort-lived access token (JWT).
refresh_tokenstringLong-lived refresh token.
sub*uuidUser id.
tenant_id*uuid
user_name*string
roles*jsonstring[] of role names.
expires_atdate-timeUnix timestamp when the access token expires.
refresh_expires_atdate-timeUnix timestamp when the refresh token expires.

API

client.auth.*
Loading manifest…