SAP Cloud Platform Open Connectors

Disabling and Enabling Connector Instances

It is easy to disable and reenable connector instances using the platform APIs. This allows connector instances to maintain their specific configurations while being able to be disabled and enabled at any time. Instances can be disabled and enabled by using DELETE (to disable) and PUT (to enable) requests to the /instances/enabledendpoint.

The Authorization header needs to include the User secret, Organization secret, and connector instance token of the instance that you want to disable/enable in this format:

Authorization: User <insert user secret here>, Organization <insert organization secret here> Element <insert instance token here>

Below are some example requests:

Disabling an Instance

curl -X DELETE "https://api.openconnectors.us2.ext.hana.ondemand.com/elements/api-v2/instances/enabled" -H "accept: application/json" -H "Authorization: User <insert user secret here>, Organization <insert organization secret here> Element <insert instance token here>"

Enabling an Instance:

curl -X PUT "https://api.openconnectors.us2.ext.hana.ondemand.com/elements/api-v2/instances/enabled" -H "accept: application/json" -H "Authorization: User <insert user secret here>, Organization <insert organization secret here> Element <insert instance token here>"