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.


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


delete-blueprint -h
usage: delete-blueprint [-h] [--catalogid CATALOGID] [--publicCatalog]

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


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.