Loading

How to delete the Self-Managed Flexgateway Registration

Veröffentlichungsdatum: Jun 15, 2025
Aufgabe

Self-Managed Flexgateway are registered in two modes:

  • Connected Mode

  • Local Mode


For a Connected mode FlexGateway, two options are available for deleting the registration: utilizing the UI or executing an API Call.

 

Conversely, for a Local Mode FlexGateway, registration can only be deleted from the Anypoint Control Plane via an API Call.

 

NOTE: Should the gateway slated for deletion have associated APIs, please adhere to the following steps:

  • Relocate the associated APIs to an alternative gateway.

  • Delete all associated APIs.

Schritte

Removing a Self-Managed Flexgateway Instance and Registration via Anypoint Console UI:

  1. Navigate to Runtime Manager within your Anypoint Console.

  2. Select "Flexgateway."

  3. Click the "Self-Managed Flexgateway" tab to view all registered Self-Managed Flexgateways operating in Connected Mode.

  4. Click the "Options" button corresponding to the desired Flexgateway Name and select "Delete gateway."

  1. Select "Yes, Delete" to confirm the deletion of your chosen Self-Managed Flexgateway. The corresponding registration will also be removed.

 

Removing the FlexGateway instance and Registration via API Call:

Prerequisites:

  • Agent ID

  • Environment ID

  • Organization ID

  • Authorization Bearer Token

 

  1. The Agent ID can be obtained from the "registration.yaml" file, which is generated during the FlexGateway registration process.

  • If your FlexGateway is registered in Connected mode, agent ID information can also be acquired from your Anypoint UI.

 

2. Obtain the Environment ID, Organization ID, and Authorization Bearer Token by following these steps:

  • Navigate to Runtime Manager within your Anypoint Console.

  • Select "Flexgateway" and proceed to the "Self-Managed Flex Gateway" tab.

  • Right-click on any page and choose the "Inspect" option to access the Developer Tools, then navigate to the "Network" tab.

  • In the Network tab, apply a filter for "gateways." Click on the API call shown below. The Header section will contain the Environment ID, Organization ID, and Authorization Bearer Token.

 

3.  Execute the API call below, replacing the values of ${agent_id}, ${org_id}, ${token}, and ${env_id} with the information collected from points 1 and 2 above, to delete the Flexgateway Registration.

curl -v 'https://anypoint.mulesoft.com/standalone/api/v1/organizations/${org_id}/environments/${env_id}/gateways/${agent_id}' -X 'DELETE' -H 'Authorization: bearer ${token}' -H "X-ANYPNT-ENV-ID:${env_id}" -H "X-ANYPNT-ORG-ID: ${org_id}"

 

4. A cURL response with HTTP Code 202 Accepted indicates the successful deletion of your   Flexgateway instance/registration via this API call.

 

5. Kindly refer to the provided documentation for comprehensive instructions on uninstalling Flex Gateway from your local machine, container, or Kubernetes POD.

Nummer des Knowledge-Artikels

005036753

 
Laden
Salesforce Help | Article