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
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"
}
]
}