Contact Us 1-800-596-4880

CloudHub 2.0 API Reference

These tables list the most commonly used CloudHub 2.0 API endpoints grouped by category. Each row identifies which API the endpoint belongs to:

API Base URL

CloudHub 2.0 API

https://anypoint.mulesoft.com/runtimefabric/api

Application Manager API

https://anypoint.mulesoft.com/amc/application-manager/api/v2

For full details on request parameters, payloads, and responses, see CloudHub 2.0 API reference on Exchange and Application Manager API reference on Exchange.

Deployments (TCP)

Use these Transmission Control Protocol (TCP) endpoints to deploy and update applications with TCP port mappings.

Method API Endpoint Description

POST

Application Manager

/organizations/{orgId}/environments/{envId}/deployments

Deploy a new application with TCP port mapping.

PATCH

Application Manager

/organizations/{orgId}/environments/{envId}/deployments/{deploymentId}

Update an existing application’s TCP port mapping.

For detailed request and response examples, see Deploy an App with TCP using the Application Manager API.

Private Spaces

Use these endpoints to retrieve infrastructure information about a private space, such as available TCP ports, availability zones, and the Amazon Web Services (AWS) account ID.

Method API Endpoint Description

GET

CloudHub 2.0

/organizations/{orgId}/privatespaces/{spaceId}/ports?available=true&count=10

List available TCP ports for a private space.

GET

CloudHub 2.0

/organizations/{orgId}/privatespaces/{spaceId}/azs

List availability zones for a private space.

GET

CloudHub 2.0

/organizations/{orgId}/privatespaces/{spaceId}/accounts

Get the AWS account ID associated with a private space.

Use these endpoints to manage Virtual Private Cloud (VPC) endpoints that provide private connectivity through AWS Private Link.

Method API Endpoint Description

POST

CloudHub 2.0

/organizations/{orgId}/privatespaces/{spaceId}/vpces

Create a VPC endpoint for a private space.

GET

CloudHub 2.0

/organizations/{orgId}/privatespaces/{spaceId}/vpces

List all VPC endpoints for a private space.

GET

CloudHub 2.0

/organizations/{orgId}/privatespaces/{spaceId}/vpces/{vpceId}

Get VPC endpoint details and provisioning status.

PATCH

CloudHub 2.0

/organizations/{orgId}/privatespaces/{spaceId}/vpces/{vpceId}

Update a VPC endpoint.

DELETE

CloudHub 2.0

/organizations/{orgId}/privatespaces/{spaceId}/vpces/{vpceId}

Delete a VPC endpoint.

For detailed curl examples, see Setting Up an Outbound Private Link Connection.

VPNs

Use these endpoints to manage Virtual Private Network (VPN) connections for a private space.

Method API Endpoint Description

PATCH

CloudHub 2.0

/organizations/{orgId}/privatespaces/{spaceId}/connections/{connectionId}/vpns/{vpnId}

Update a VPN (for example, enable VPN logs).

For more information, see Managing Private Spaces.

Transit Gateways

Use these endpoints to manage AWS Transit Gateway attachments for your organization.

Method API Endpoint Description

DELETE

CloudHub 2.0

/organizations/{orgId}/transitgateways/{tgwId}

Delete a transit gateway from the organization.

For more information, see Managing Private Spaces and the delete transit gateway API calls.

Schedulers

Use these endpoints to manage Scheduler component configurations for deployed applications.

Method API Endpoint Description

DELETE

CloudHub 2.0

/organizations/{orgId}/environments/{envId}/deployments/{deploymentId}/schedulers/{flowName}

Reset the scheduler configuration for a specific flow.

For more information, see Managing App Schedules.

See Also