PUT /tenant-management/api/admin/users/{id}
As of Version | product version 2020 Winter | component version 1.0 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Request Method | PUT | ||||||||
Response Format | HTTP status code | ||||||||
Required Permission | Available if listed in | ||||||||
Description | Updates the data of the user specified by 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 As of version 2022 Summer, the deactivation of users leads to an invalidation of all their active sessions (if the 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:
| ||||||||
Request Example |
{ "email": "example@exampleprovider.de", "userName": "mrexample", "firstName": "Examplename", "lastName": "Examplesurname", "roles": ["role1","role2"], "groups": ["mygroup","specialgroup","group2"], "enabled": true, "createdTimestamp": 1555069963564 } | ||||||||
Response Example |
no response body |