PolicyDrafts
Create or update a policy draft
put/zones/{zone_id}/policies/{policy_id}/draft
Path parameters
zone_idstring required
The zone identifier
policy_idstring required
The policy identifier
Query parameters
format'cedar' | 'json'
Response format override. json returns cedar_json, cedar returns cedar_raw. When omitted, the response matches the input format.
validate_cedarboolean
Whether to validate cedar_json against the schema. Defaults to true.
Headers
X-API-Versionstring
API version header (date-based, e.g. 2026-02-01)
X-Client-Request-IDstring uuid
Unique request identifier specified by the originating caller and passed along by proxies.
Request body
Response
The upserted policy draft