👋 Welcome to the new Omni docs! We're still migrating, but the old docs are available at docs-legacy.omni.co.
cURL
curl --request PUT \ --url https://{instance}.omniapp.co/api/v1/documents/{documentId}/permissions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "organizationRole": "<string>", "organizationAccessBoost": true, "canDownload": true, "canDrill": true, "canSchedule": true, "canUpload": true, "canViewWorkbook": true } '
{ "success": true }
Update document permission and interactivity settings
Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN
Bearer YOUR_TOKEN
Document identifier
Organization-level role
Settings updated successfully
true
Was this page helpful?