Skip to main content

Create a user group

POST 

/user-groups

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

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

A named collection of accounts, purely for bulk share-permission assignment — distinct from the fixed users system group (GID 100) that every share's files belong to.

Request​

Responses​

The new group.