Import component template from json or yaml file

Request

PUT https://{hostname}:{port}
    /cli/componentTemplate/import?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
processUpgradeType string false Suppport values are UPGRADE_IF_EXISTS, CREATE_NEW_IF_EXISTS, FAIL_IF_DOESNT_EXIST, UPGRADE_IF_EXISTS, USE_EXISTING_IF_EXISTS. Default is UPGRADE_IF_EXISTS.
disposition string true create or update.
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Related CLI command: importComponentTemplate.