v1

latestOpenAPI 3.0.3agpl2026-07-17836669.5 KB
share

Update a collective share

put/ocs/v2.php/apps/collectives/api/v{apiVersion}/collectives/{collectiveId}/shares/{token}

Path parameters

apiVersion'1.0' required
collectiveIdinteger required

ID of the collective

tokenstring required

Token of the share

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

editableboolean required

Whether share has edit permissions

passwordstring nullable

Optional password for the share

Response

Share updated