Update an application pipeline definition

Request

PUT https://{hostname}:{port}
    /cli/applicationPipeline?{parameters}
Table 1. Request parameters
Parameter Type Required Description
application string false Application name or id. Required if pipeline specified by name.
pipeline string true Pipeline name or id.
This command takes a JSON request string or file. Use the following template for the request:
{
  "name": "name of the application pipeline",
  "stages": [{
    "blocks": [{
      "environment": "name of the environment for this 
  block",
      "processes": ["process-name"]
    }],
    "name": "name of the stage"
  }]
}

Related CLI command: updateApplicationPipeline.