Create a component template from a JSON file#


PUT https://{hostname}:{port}
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.",
  "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