v1

latestOpenAPI 3.0.3agpl2026-07-1715891.6 KB
workspace-users

Add users in a subgroup in a workspace

post/ocs/v2.php/apps/workspace/api/v1/spaces/{id}/groups/{gid}/users

Path parameters

idinteger required

Represents the ID of the workspace

gidstring required

The subgroup id

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

uidsstring[] required

Represents the user uids to add to the subgroup

Response

Users added in subgroup successfully