Skip to main content
POST
Check a policy and preview its effective values without saving

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

A policy for one scope, as JSON (spec: the portal, agents) or YAML.

catalog
string
required
Required string length: 1 - 128
namespace
string
default:""
Maximum string length: 512
table
string
default:""
Maximum string length: 256
yaml
string | null
Maximum string length: 100000
spec
Spec · object | null
expected_version
integer | null

The version being edited; omit to create the scope's first policy.

Required range: x >= 1

Response

Successful Response

valid
boolean
required
issues
PolicyIssueOut · object[]
warnings
string[]
effective
EffectivePolicyOut · object | null