Dynamic Policies
Import policies
Bulk import policies from JSON or YAML format. Supports create or update semantics based on policy_id.
On a deployment whose database connection cannot write the legacy policy tables (migrations/core/172), the request is refused 409 LEGACY_POLICY_WRITE_FROZEN before its body is read, whatever it contains, and the refusal names the typed authoring route. An owner-role deployment still imports.
post/api/v1/policies/import
Request
- Base URLhttps://orchestrator.getaxonflow.com
- Authnone declared. Required headers: X-Tenant-ID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Tenant-IDstring required
X-User-IDstring
Request body
Response
Import result
Changes
No recorded changes to this operation across all 1 revision of this API.