API Search endpoints…⌘K

Create a User

POST/lokta-lms/api/v1/users

Adds new application user.

Note: Password information is not required (or processed). Password details at present are auto-generated and then sent to the email account given (which is why it can take a few seconds to complete).

Mandatory Fields:
username, firstname, lastname, email, officeId, roles, sendPasswordToEmail

Optional Fields:
staffId,passwordNeverExpires,isLoginRetriesEnabled

Request body application/json

clientsarray · optional
emailstring · optional
firstnamestring · optional
isLoginRetriesEnabledboolean · optional
isPasswordResetAllowedboolean · optional
lastnamestring · optional
officeIdinteger · int64 · optional
passwordstring · optional
passwordNeverExpiresboolean · optional
repeatPasswordstring · optional
rolesarray · optional
sendPasswordToEmailboolean · optional
staffIdinteger · int64 · optional
usernamestring · optional

Responses

200OK

Response fields

officeIdinteger · int64 · optional
resourceIdinteger · int64 · 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.