5.5.1

Table Of Contents
If the GET request is successful, you receive the status code 200. The configuration element content is
available in the response body.
Deleting Orchestrator Objects
The Orchestrator REST API provides Web services that you can use to delete workflows, actions, packages,
resources, and configuration elements.
Delete a Workflow
You can delete a workflow by using the Orchestrator REST API.
Procedure
1 Make a GET request and retrieve the ID of the workflow from the list of returned workflows:
GET http://{vcoHost}:{port}/vco/api/workflows/
2 Make a DELETE request at the URL of the workflow:
DELETE http://{vcoHost}:{port}/vco/api/workflows/{workflowID}/
If the DELETE request is successful, you receive the status code 200, and the response body is empty.
Delete an Action
You can delete an action by using the Orchestrator REST API.
Procedure
1 Make a GET request and retrieve the ID of the action from the list of returned actions:
GET http://{vcoHost}:{port}/vco/api/actions/
2 Make a DELETE request at the URL of the action:
DELETE http://{vcoHost}:{port}/vco/api/actions/{actionID}/
If the DELETE request is successful, you receive the status code 200, and the response body is empty.
Delete a Package
You can delete a package by using the Orchestrator REST API.
When you delete a package, the elements from the package are not deleted. If you want to delete the content
of a package, you must provide an option parameter.
Procedure
1 Make a GET request and retrieve the name of the package from the list of returned packages:
GET http://{vcoHost}:{port}/vco/api/packages/
Developing a Web Services Client for VMware vCenter Orchestrator
38 VMware, Inc.