Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the Omni Agent in the sidebar.
curl --request PATCH \
--url https://{instance}.omniapp.co/api/v1/folders/{folderId}/permissions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "NO_ACCESS",
"accessBoost": false,
"userIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"userGroupIds": [
"<string>"
]
}
'{
"success": true
}Update existing folder permissions for users or groups
curl --request PATCH \
--url https://{instance}.omniapp.co/api/v1/folders/{folderId}/permissions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "NO_ACCESS",
"accessBoost": false,
"userIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"userGroupIds": [
"<string>"
]
}
'{
"success": true
}Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
The UUID of the folder. Use the List folders endpoint to retrieve folder IDs.
The content role to assign to the specified users or user groups.
NO_ACCESS, VIEWER, EDITOR, MANAGER If true, AccessBoost is enabled for the folder.
The list of user IDs to update permissions for. Use the List users or List embed users endpoints to retrieve user IDs.
Either userIds or userGroupIds is required.
The list of user group IDs to update permissions for. Use the List user groups endpoint to retrieve user group IDs.
Either userIds or userGroupIds is required.
Permissions updated successfully
true
Was this page helpful?