IAM - Test Document Permissions
IAM - Test Document Permissions
Test the permissions that the caller (or another subject) holds on the document.
Authentication
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
OR
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
Path parameters
document_id
org_id
The org id
project_id
The project id
Request
This endpoint expects an object.
permissions
A list of permissions to test on the document.
member
Response
Document permissions tested successfully
permissions
member
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error