Skip to main content
POST

Authorizations

Authorization
string
header
required

User-principal OAuth 2.0 Bearer authentication. Send a user-scoped Auth0 access token (audience = the app API audience) as Authorization: Bearer <jwt>. The request resolves to the user's identity and is authorized by their Role on the {companyId} in the path — the same role-based permissions the web app enforces. This is the path the MCP connector uses to act on a user's behalf; endpoints that accept it list both BearerAuth and ApiKeyAuth.

Path Parameters

companyId
string<uuid>
required

Company identifier

policyId
string<uuid>
required

Policy identifier

Body

application/json
dryRun
enum<boolean>
required
Available options:
true
rewrites
object[]
required
Minimum array length: 1

Response

A read-only fingerprint preview, a changed Policy history, or an already-applied no-op.

status
enum<string>
required
Available options:
dryRun
currentFingerprint
string
required
Pattern: ^[0-9a-f]{64}$
projectedFingerprint
string
required
Pattern: ^[0-9a-f]{64}$
occurrences
object[]
required