Reset a user's password
Ends the sessions of the user. The user must change the password at the next login. An OIDC user has no password: 409.
POST
/api/v1/users/{id}/passwordAuthorization
tse_sessionAPI key · cookierequiredPath parameters
idstringrequiredRequest body
requiredapplication/jsonpasswordstringNew password. The user must change it at the next login.
Responses
200
OK
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