API Search endpoints…⌘K

Verify authentication

POST/lokta-lms/api/v1/authentication

Authenticates the credentials provided and returns the set roles and permissions allowed.

Request body application/json

passwordstring · required
usernamestring · required

Responses

200OK
400Unauthenticated. Please login
403Password reset required

Response fields

authenticatedboolean · optional
base64EncodedAuthenticationKeystring · optional
officeIdinteger · int64 · optional
officeNamestring · optional
organisationalRoleEnumOptionData · optional
permissionsarray · optional
rolesarray of RoleData · optional
staffDisplayNamestring · optional
staffIdinteger · int64 · optional
userIdinteger · int64 · optional
usernamestring · optional

Every request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors. Open this operation in the interactive explorer, or read it as Markdown.