Bulk imports the provided Collections configuration.

Only superusers can perform this action.

API details
PUT
/api/collections/import
Requires Authorization:TOKEN
Body Parameters
Param Type Description
Required collections
{"Array"} List of collections to import (replace and create).
Optional deleteMissing
Boolean If true all existing collections and schema fields that are not present in the imported configuration will be deleted, including their related records data (default to false).
Body parameters could be sent as JSON or multipart/form-data.
Responses
{#each responses as response (response.code)} {/each}
{#each responses as response (response.code)}
{/each}