New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Validate an Ory Permission Language document

POST 

/projects/:project_id/opl/validate

Parses an OPL document using the same product limits and subscription entitlements applied when the project's configuration is saved.

SDK ReferenceTypeScript
validateOpl()
ParametersTypeRequiredDescription
bodystringrequired
projectIdstringrequiredThe project's ID.
VariableType
dataOplValidateResult