Update the secondary process

Request

PUT https://{hostname}:{port}
  /build/rest2/projects/{id}/secondaryProcesses/{id}
Table 1. URL parameters
Parameter Type Required Description
id string true The identifier to use when looking up a project. This can be the name or ID of the project
id string true The identifier to use when looking up a secondary process. This can be the name or ID of the process
This command takes a JSON request string or file. Use the following template for the request:
{
  "active": "Whether or not the secondary process is 
  active",
  "description": "The secondary process description",
  "name": "The name of the secondary process",
  "notificationScheme": "The notification scheme of the 
  secondary process",
  "priority": "The priority of the secondary process",
  "properties": [{
    "allowed-values": "The values users are allowed to 
  select for this property. Separate each value by entering 
  it on its own line",
    "default-value": "The default value of the property",
    "description": "The description of the property",
    "display-type": "The display type of the property 
  (Text, Select, Checkbox, Multi-Select, Text Area, Text 
  (secure), Integration Plugin, Agent Pool)",
    "label": "A label for this property shown when 
  prompting users for value. Leave blank to use the name as 
  the label",
    "name": "The name of the property",
    "required": "Whether or not the value of the property 
  is required.",
    "runtime": "Whether or not the value is entered at the 
  runtime of a build. When true, the property will appear by 
  the Build button. When false, the property will appear in 
  the Configuration tab",
    "saveToBuildConfig": "Whether or not to save the 
  property to build configurations. This is only used with 
  projects, processes, and their respective templates.",
    "scripted": "Whether or not the value type of the 
  property is scripted",
    "value": "The value of the property. This is only used 
  for properties on non-template objects (project, but not 
  project template, etc."
  }],
  "skipPreProcessing": "Whether or not to skip pre-
  processing when running an unforced build for the process",
  "templatedProperties": [{
    "name": "The name of the property",
    "value": "The value of the property"
  }]
}