Files
Set permissions for a file
Changed onSets who can view or edit a file. Send the complete list of users and groups you want to grant access to; this replaces the permissions managed through this API. Use user emails or the group addresses returned by Get permissions. An empty list removes all permissions you can manage here. Of the system groups, only AllMembers can be set; AllAdmins, AllFreeMembers, AllGuests, and AllAnonymous are managed automatically. Both the submitted and resulting lists are limited to 1000 entries. If either exceeds the limit, nothing changes. Returns the updated permissions.
put/files/{fileId}/permissions
Request
- Base URLhttps://public-api.process.st/api/v1.1
- URLhttps://public-api.process.st/api/v1.1/files/{fileId}/permissions
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
fileIdstring required
File ID
Request body
Response
Example response
{
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
}Changes
- info
endpoint added
- info