Verify authentication
POST
/lokta-lms/api/v1/authenticationAuthenticates the credentials provided and returns the set roles and permissions allowed.
Request body application/json
passwordstring · requiredusernamestring · requiredResponses
200OK400Unauthenticated. Please login403Password reset requiredResponse fields
authenticatedboolean · optionalbase64EncodedAuthenticationKeystring · optionalofficeIdinteger · int64 · optionalofficeNamestring · optionalorganisationalRoleEnumOptionData · optionalpermissionsarray · optionalrolesarray of RoleData · optionalstaffDisplayNamestring · optionalstaffIdinteger · int64 · optionaluserIdinteger · int64 · optionalusernamestring · optionalEvery 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.