Excerpt |
---|
Updates the data of the user specified by id . |
Required user role: with the data passed in the request body in JSON format. |
As of version 2021 Autumn, this endpoint does not allow for the assignment of the YUUVIS_SYSTEM_INTEGRATOR role to a user. If this role is passed as an entry of the roles
list, the endpoint will return an error.
As of version 2022 Summer, the deactivation of users leads to an invalidation of all their active sessions (if the enabled
property is changed to false
).
As of 2022 Autumn, in the default configuration, users with the YUUVIS_MANAGE_SETTINGS role are allowed to use the endpoint as well. However, they are not allowed to assign the roles YUUVIS_TENANT_ADMIN or YUUVIS_SYSTEM_INTEGRATOR or to update the data of users with at least one of those roles.
Meaning of the response status codes:
HTTP Status Code | Meaning |
---|
200 OK | Successful, the data for the specified user have been updated. |
401 UNAUTHORIZED | The call was unauthorized. |
409 CONFLICT | At least one of the following situations occurred: |
username - user name is not unique.
- The
|
email - e-mail address is not unique.
- The
|
email - e-mail address or password must be set.
- The role {ROLE_NAME} was not found.
- The group {GROUP_NAME} was not found.
|