Updates the permissions for a given document without modifying document content. This endpoint is not yet generally available. Please contact Glean support to enable this feature.
OK
Bad Request
Not Authorized
Conflict
Too Many Requests
{- "datasource": "string",
- "objectType": "string",
- "id": "string",
- "viewURL": "string",
- "permissions": {
- "allowedUsers": [
- {
- "email": "string",
- "datasourceUserId": "string",
- "name": "string"
}
], - "allowedGroups": [
- "string"
], - "allowedGroupIntersections": [
- {
- "requiredGroups": [
- "string"
]
}
], - "allowAnonymousAccess": true,
- "allowAllDatasourceUsersAccess": true
}
}