Skip to main content

apic site:create-import

Create a task that imports an archive that contains the make-up of a site.

Synopsis

You can create a task to import an archive of the make-up of a site. You can use the imported archive to quickly and simply override the site config, content and custom modules and themes for the specified site.

apic site:create-import --mode portaladmin [flags]

Options

  -c, --catalog string   Name or ID of the Catalog that the site belongs to. (required)
--format string Output format. One of [json yaml octet-stream go-template=... go-template-file=...], defaults to yaml.
-h, --help Help for site:create-import
--no-poll Do not poll the created task and just return the task ID
-o, --org string Name or ID of the organization that the catalog belongs to. (required)
-s, --server string management server endpoint (required)

Options inherited from parent commands

      --accept-license        Accept the license for API Connect
--debug Enable debug output
--debug-output string Write debug output to file
--live-help Enable or disable tracking of limited usage information
-m, --mode string Toolkit operation mode (default "apim")