Document permissions
Update document permissions
Changed onUpdate existing document permissions for users or groups.
patch/v1/documents/{documentId}/permissions
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/documents/{documentId}/permissions
- AuthHTTP bearer
Path parameters
documentIdstring required
The document identifier. To retrieve the ID, navigate to File > Document settings in the document and then click Settings. The Identifier field contains the document ID.
Request body
Example request
{
"role": "EDITOR",
"userIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"userGroupIds": [
"mEhXj6ZI"
]
}Response
Permissions updated successfully
Example response
{
"success": true
}Changes
- info
added the new
OWNERenum value to the request property
- info