Skip to main content
Check whether users can read a document

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the document the users are checked against.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

Body

application/json
users
string[]

Users to check, as usernames or, for people without an account in the tenant, e-mail addresses. The caller is ignored even when listed.

Maximum array length: 1000
Example:

Response

Reports whether all the listed users can read the document.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"