Import Policies Using POST

Import Policies Using POST

Imports policy content from an archive of ZIP format.

Request
URI
POST
https://{api_host}/api/policies/import
COPY
Query Parameters
boolean
forceImport
Optional

True to overwrite the existing policies, false to skip importing when there is a conflict


Request Body
Authentication
This operation uses the following authentication methods.
Responses
200

The Imported policies

Returns policy-update-outcome of type(s) application/json
{
    "createdPolicies": [
        {
            "id": "string",
            "name": "string"
        }
    ],
    "skippedPolicies": [
        {
            "id": "string",
            "name": "string"
        }
    ],
    "updatedPolicies": [
        {
            "id": "string",
            "name": "string"
        }
    ]
}
createdPolicies
Optional

Array of created policies

skippedPolicies
Optional

Array of skipped policies

updatedPolicies
Optional

Array of updated policies