[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Import Policies

Description

Imports policy content from an archive of ZIP format.

Request

Request

URL

URL


post
https://localhost/suite-api/api/policies/import
Copy

Query Parameters

Query Parameters

boolean
forceImport Optional

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

forceImport example
map[code:false
]

Form Data Parameters

Form Data Parameters

file
policy Required

An archive of policy content to be imported


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns PolicyUpdateOutcome of type(s) application/json, application/xml

The Imported policies

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST https://localhost/suite-api/api/policies/import


[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations
Feedback

Was this page helpful?