Import policies
POST/v1/policies/import
Upserts portable policy definitions into the caller's tenant. The import half of config promotion. Processing stops at the first failure; the error body reports how many succeeded and which policy failed.
Request
Responses
- 200
- 400
Number of policies imported.
Invalid body, or an individual policy failed to import. On a per-policy failure the body also carries imported and failed_policy.