v68

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0189430445.4 KB
Documents

Read document permissions

Read the emails of all users who have access to the given document.

post/rest/api/v1/getdocpermissions

Query parameters

localestring

The client's preferred locale in rfc5646 format (e.g. en, ja, pt-BR). If omitted, the Accept-Language will be used. If not present or not supported, defaults to the closest match or en.

Request body

documentIdstring

The Glean Document ID to retrieve permissions for.

Response

OK

allowedUserEmailsstring[]

A list of emails of users who have access to the document. If the document is visible to all Glean users, a list with only a single value of 'VISIBLE_TO_ALL'.