Updating App Endpoints with the API

Use the API to update the service name or description for an app endpoint. To update endpoint visibility use the PUT ​/v1​/subscriptions/{subscriptionLocator}/apps/{appId} method. See Updating App Attributes with the API for more information.

Considerations for updating app endpoints: 

To update app endpoints, you need the following: 

  1. Use the PUT ​/v1​/subscriptions/{subscriptionLocator}/apps/{appId}/endpoints/{endpointId} method to update the service name or description of an existing app endpoint and push the changes to the cloud.
  2. Include the attributes you want to change in the model. Attributes include service name and description.

    To change only the service name without affecting the description, include the service name attribute and the description attribute set to a value of "string".

    {
    "description": "string"
    }

    To set the description field to an empty value either exclude it from the request, or include the service name attribute and the description attribute set to a value of "".

    {
    "description": ""
    }
  3. Use the GET /v1/subscriptions/{subscriptionLocator}/apps/{appId}/endpoints method to view the endpoint details for the selected app and confirm your changes.

Role Requirements

Related Topics

Managing Apps with the TIBCO Cloud™ Integration API

Viewing App Endpoints with the API