Detaching App Access Keys with the API

If you are using the Hybrid agent with apps that connect to on-premise systems, those apps require access keys. In this scenario, both the Hybrid agent and the associated app are installed and run locally. Use the API to add or remove Hybrid agent access keys for an app. Hybrid agent access keys are generated in the user interface under Settings > Proxy Agent access keys.

To detach access keys you need the following: 

  1. Use the DELETE ​/v1​/subscriptions/{subscriptionLocator}/apps​/{appId}​/env​/tunnelkey method to remove the access key from a specific app. This is an asynchronous call.
  2. Include the appId of the app from which you are detaching the access key.
  3. Use the GET ​/v1​/subscriptions/{subscriptionLocator}/apps​/{appId}​/status method to check whether or not the app has been successfully scaled.
  4. Use the GET /v1/subscriptions/{subscriptionLocator}/apps/{appId} method to verify that the key has been removed.

When Hybrid agent access keys are added or removed from an app, the app is rescaled.

Related Topics

Managing Environment Controls with the TIBCO Cloud™ Integration API

Checking the Status of an App with the API

Viewing App Details with the API