Skip to main content

Replace a user group's membership

PUT 

/user-groups/:groupId/members

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request PUT \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
--header "Content-Type: application/json" \
--data @body.json \
"https://$HOSERVA_HOST:8008/api/v1/user-groups/{groupId}/members"

A full replace of the group's member list.

Request​

Responses​

The updated group.