This endpoint uploads the exported ZIP file (from the Export API or UI) into the import pipeline. The uploaded file is validated, parsed, and prepared for application.
Use this step right before applying policies to a target environment.
Endpoint
POST /catalog-server/api/rules/import/policy-definitions/upload-configRequest Form Data
| Name | Type | Required | Description |
|---|---|---|---|
file | file | Yes | ZIP file containing exported policy definitions |
Sample Request
curl -X POST "https://{{HOST}}/catalog-server/api/rules/import/policy-definitions/upload-config" \ -H "accessKey: {{ACCESS_KEY}}" \ -H "secretKey: {{SECRET_KEY}}" \ -F "file=@policies_export.zip"Was this page helpful?