Skip to main content

Test an OPA access policy, can only be requested with ADMIN privileges

POST 

/sites/:siteId/opa/accessPolicy/test

Evaluates the site's saved OPA access policy, or draft policy items supplied in the request, against simulated request and user input. The operation does not persist policies or modify documents.

Request​

Responses​

OPA access policy test completed

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers

Privacy settings

Analytics is optional. Your analytics choice is shared with formkiq.com and remembered for up to six months. Change it here at any time.

Essential preferences and search

We remember your privacy choice and display preferences. Search runs in your browser using Pagefind files hosted with the docs. It works whether you accept or reject analytics.

Measure page views, installation-link clicks, and selected navigation. This does not enable advertising on the docs. Existing marketing choices for the main website are kept unchanged.

Read the docs privacy notice or manage other main-website privacy choices.