Contact Free trial Login

Use the CloudHub API to Deploy Applications

logo cloud active logo hybrid active logo server disabled logo pcf disabled

Use the the CloudHub API to deploy an application.

For instructions on how to perform these same tasks more easily using the Runtime Manager UI, see CloudHub.

The POST method, specified with the /api/applications/{domain}/deploy resource (where {domain} is the application domain), allows you to deploy an Mule application ZIP file to CloudHub. Deployment is commonly done after you’ve created the application in Anypoint Studio or used Maven from the command line. Then you need to upload the ZIP file to CloudHub.

After you’ve deployed the ZIP file, you can monitor the status of your deployment by viewing the logs.

Example Request:

POST https://anypoint.mulesoft.com/cloudhub/api/applications/hello/deploy

.. application data ...

Example Response:

200 OK

Check out the API Portal of the CloudHub API to see an interactive reference of all the supported resources, methods, required properties and expected responses.

In the API Portal, search among other Mule APIs for the CloudHub API and enter its latest version.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.