PUT /tenant-management/api/admin/groups/{id}

As of Versionproduct version 2021 Autumn | component version 1.0
Request MethodPUT
Response FormatHTTP status code
Required Permission

Available if listed in authorization.accesses in authentication-prod.yml and the specified access condition is matched. In the default configuration, access is granted via the YUUVIS_TENANT_ADMIN role.

>> AUTHENTICATION Service
Description

Updates the data of the group specified by id with the data passed in the request body in JSON format.

This endpoint does not allow for adding the role YUUVIS_SYSTEM_INTEGRATOR to a group. If this role is passed as an entry of the realmRoles list, the endpoint will return an error.

Meaning of the response status codes:
HTTP Status CodeMeaning
200 OKSuccessful, the data for the specified group have been updated.
401 UNAUTHORIZEDThe call was unauthorized.
Request Example

PUT /tenant-management/api/admin/groups/a99a0bb1-2345-6c77-8901-22dee3f4a567 HTTP/1.1

{
  "realmRoles": [
    "YUUVIS_CREATE_OBJECT",
    "YUUVIS_MANAGE_SETTINGS"
  ]
}
Response Example

200 OK

no response body