Create an application template from a JSON file

Request

POST https://{hostname}:{port}
    /cli/applicationTemplate
Accept: application/json
Table 1. Header parameters
Parameter Type Required Description
Accept application/json true
This command takes a JSON request string or file. Use the following template for the request:
{
  "description": "Application template description 
  (Optional)",
  "enforceCompleteSnapshots": "Specify true to require an 
  explicit version for each component",
  "name": "Application template name",
  "notificationScheme": "Notification scheme (Optional)",
  "tagRequirements": [
    {
      "name": "Name of the Component tag",
      "number": "Number of components for the tag",
      "type": "GREATER_THAN, LESS_THAN, or EQUALS"
    },
    " (Optional)"
  ],
  "teamMappings": [
    {
      "resourceRoleId": "Id of Resource Type to apply to 
  this team mapping (optional, can specify either this or 
  resourceRoleLabel",
      "resourceRoleLabel": "Name of Resource Type to apply 
  to this team mapping (optional, can specify either this or 
  resourceRoleId",
      "teamId": "ID of a team, either this field or 
  teamLabel are needed to specify a team",
      "teamLabel": "Name of the team to map the 
  environment to, either this field or teamId are needed to 
  specify a team"
    },
    " (Optional)"
  ]
}

Related CLI command: createApplicationTemplate.