delete-blueprint

The delete-blueprint command removes a blueprint from a catalog. What catalog the blueprint is deleted from is determined by one of the options in the order below:

  1. By specifying the --publicCatalog command argument.
  2. By specifying the desired company catalog with the --catalogid command argument.
  3. Otherwise the company catalog associated with the customer of the user running the command is used.

Note

The --publicCatalog command argument and the --catalogid are mutually exclusive.

Help

delete-blueprint -h
usage: delete-blueprint [-h] [--catalogid CATALOGID] [--publicCatalog]
                        [--remove-versions]
                        blueprintid

positional arguments:
  blueprintid           Blueprint ID

optional arguments:
  -h, --help            show this help message and exit
  --catalogid CATALOGID
                        Catalog ID, defaults to company catalog
  --publicCatalog       Use public catalog
  --remove-versions     Remove all versions of a blueprint. Requires
                        blueprintid to be the parentBlueprintId

Example

delete-blueprint 15
Loading API environment
  API access validated
  API access key type is User, userId: 10
  Found Customer catalog, id= 11
Defaulting to customer catalog id: 11
Blueprint deleted.