You can enable or disable a plug-in by using the Orchestrator REST API.

About this task

You can change the state of a plug-in from enabled to disabled, or from disabled to enabled, by making a PUT request at the URL of the plug-in. You can check the current state of a plug-in by retrieving information about the Orchestrator plug-ins. See Retrieve Information About Plug-Ins.

Prerequisites

The plug-in binary content should be available as multi-part content. For details, see RFC 2387.

Procedure

  1. In a REST client application, add request headers to define the properties of the plug-in that you want to enable or disable.
  2. Make a PUT request at the URL of the plug-in that you want to enable or disable:
    PUT http://{orchestrator_host}:{port}/vco/api/plugins/{plug-in_name}/state/

Results

If the PUT request is successful, you receive the status code 200.