Change a user
A role change and a disable end the sessions of the user. An admin cannot disable the own account or lower the own role. The identity provider sets the role and the display name of an OIDC user: a change of them gets 409.
/api/v1/users/{id}tse_sessionAPI key · cookierequiredidstringrequiredapplication/jsondisabledbooleandisplay_namestringrolestringnone, viewer, operator or admin
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
nonevieweroperatoradminservice_grantsAuthMeServiceGrant[]requiredThe roles of the user on single database services
Show propertiesHide properties
AuthMeServiceGrantrolestringrequiredvieweroperatorservice_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
localoidctwo_factorbooleanrequiredThe user has confirmed TOTP two-factor authentication
updated_atstring<date-time>requiredusernamestringrequiredError
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message