code: func (client *Client) DeleteApplicationProcessInstance(appGUID string, processType string, instanceIndex int) (Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.DeleteApplicationProcessInstanceRequest,
  		URIParams: map[string]string{
  			"app_guid": appGUID,
  			"type":     processType,
  			"index":    strconv.Itoa(instanceIndex),
  		},
  	})
  	if err != nil {
  		return nil, err
  	}
  
  	var response cloudcontroller.Response
  	err = client.connection.Make(request, &response)
  
  	return response.Warnings, err
  }
docs: // DeleteApplicationProcessInstance deletes/stops a particular application's
  // process instance.