Dokumentation
ReferenzUser Groups

Remove a user from a user group.

DELETE
/user-groups/{userGroupId}/users/{userId}

Take one user out of one team group. The user itself is untouched; only the membership ends.

Unlike the add, this is not idempotent: removing somebody who is not a member is answered with 400, so a caller is told when its picture of the group is out of date.

Requires the right to manage group members, which is the tenant manager and the administrator.

Authorization

apiKey
headerX-API-Key<token>

API key issued in the Galilea settings.

Path Parameters

userGroupId*string

The id of the user group, as returned by GET /user-groups.

Formatuuid
userId*string

The id of the user, as returned by GET /users.

Formatuuid

Response Body

The user is no longer in the group.

curl -X DELETE "https://example.com/user-groups/7f3b2a10-11ef-4c2e-9a71-2b6d5c8e4419/users/62e49dd6-954a-11ef-b06a-170340f38b3d"
Empty