Troubleshooting
Check document access
Check if a given user has access to access a document in a custom datasource
Tip: Refer to the Troubleshooting tutorial for more information.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Describes the request body of the /checkdocumentaccess API call
Datasource of document to check access for.
Object type of document to check access for.
Glean Document ID to check access for.
Email of user to check access for.
Response
200
application/json
OK
Describes the response body of the /checkdocumentaccess API call
If true, user has access to document for search
Was this page helpful?
Previous
Get document upload and indexing statusIntended for debugging/validation. Fetches the current upload and indexing status of documents.
Tip: Use [/debug/{datasource}/document](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-document) for richer information.
Next