PolicyUpdateRequest
Replaces the named fields of the draft at the revision If-Match names; the revision advances by one and the document is linted again with the hook, action type and tag it then has. Disabling a compliance-tagged Policy, and any write to an organization-scoped one, need policies:admin.
An object with 9 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
action_type | PolicyActionType | no | |
compliance_tag | ComplianceTag or null | no | |
description | string or null | no | For reviewers; never sent to the model. |
enabled | boolean | no | |
hook | HookPoint | no | |
logic | JdmDocumentInput | no | Replaces the whole document. The JDM document under the Vocal profile: its input is the hook's Call context and it writes the parameters of the action type under action, or nothing. Every save and publish lints it (policyLint); an error refuses with 422 validation_failed. |
name | PolicyName | no | |
priority | integer | no | |
scope | PolicyScope | no |
Used by
The operations whose parameters, request body or responses name this shape directly.