Import from zip file

POLICY IMPORT FROM .ZIP

Imports new policy from a zip file

POST /policies/import/file

Imports new policy and all associated artifacts, such as schemas and VCs, from the provided zip file into the local DB. Only users with the Standard Registry role are allowed to make the request.

Request Body

NameTypeDescription

*

String

A zip file that contains the policy and associated schemas and VCs to be imported

{
    content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PolicyConfig'
}