Create a component template from a JSON file#

Request#

PUT https://{hostname}:{port}
    /cli/componentTemplate/create
Accept: application/json

Parameter Type Required Description
Accept application/json true  

This command takes a JSON request string or file. Use the following template for the request:

{
  "componentType": "STANDARD or ZOS",
  "description": "Component template description",
  "importAutomatically": "Optional, boolean. Force 
  components to import versions automatically (true) or 
  never import automatically (false). Leave blank to specify 
  value when component is created.",
  "integrationAgent": "ID of the Agent to use for 
  importing new component versions (Optional)",
  "integrationTag": "Tag name of the Agent to use for 
  importing new component versions (Optional)",
  "name": "Component template name or ID",
  "properties": {"Source configuration plugin property 
  name": "Property value"},
  "sourceConfigPluginName": "Name of the source 
  configuration type"
}

Related CLI command: createComponentTemplate.

Parent topic: componentTemplate resource