Modify a Task

You can change the properties of an existing task by using the vRealize Orchestrator REST API.

You can only add new scheduling properties to a task or change the values of the already existing properties. If you want to replace the scheduling properties of a task, you must delete the task and create a new one.

Procedure

  1. Make a GET request at the URL of the task that you want to modify:
    GET https://{orchestrator_fqdn}/vco/api/tasks/{task ID}/
  2. Check the properties of the task in the response body of the request.
  3. To modify the task, make a POST request at the URL of the task by providing the new properties of the task in a task-data element in the request body.

Results

If the POST request is successful, the API reruns a status code 200 and the updated task in the response body.