Update the basic settings of an external approval process

Request

PUT https://{hostname}:{port}
    /cli/externalApprovalProcess/update?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
externalApprovalProcess string true Name or ID of the external approval process
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true
This command takes a JSON request string or file. Use the following template for the request:
{
  "description": "Description of the process",
  "name": "Name of the process",
  "propDefs": ["(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)"
  ],
  "workingDir": "The working directory of the process"
}

Related CLI command: updateExternalApprovalProcess.