Create a local user
The user must change the initial password at the first login.
POST
/api/v1/usersAuthorization
tse_sessionAPI key · cookierequiredRequest body
requiredapplication/jsondisplay_namestringpasswordstringInitial password. The user must change it at the first login.
rolestringnone, viewer, operator or admin
usernamestringResponses
201
Created
created_atstring<date-time>requireddisabledbooleanrequireddisplay_namestringrequiredidstringrequiredlast_login_atstring<date-time>must_change_passwordbooleanrequiredrolestringrequiredThe default role. none: the user sees only the database services of the grants
Allowed:
nonevieweroperatoradminservice_grantsAuthMeServiceGrant[]requiredThe roles of the user on single database services
Show propertiesHide properties
Array of
AuthMeServiceGrantrolestringrequiredAllowed:
vieweroperatorservice_idstringrequiredsourcestringrequiredlocal: a username and a password. oidc: a user of the identity provider. The first SSO login adds the user, and each login sets the role from the claims
Allowed:
localoidctwo_factorbooleanrequiredThe user has confirmed TOTP two-factor authentication
updated_atstring<date-time>requiredusernamestringrequireddefault
Error
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message