Organization APIs in CloudHub

Author: Manish Prabhu

There are some cloudhub APIs which can be used to get information about the organizational details of anypoint platform account like organization id, plan, usages, load balancers etc.

Get organization details:

GET https://anypoint.mulesoft.com/cloudhub/api/organization

This API requires basic authentication as an authorization mechanism. It is used to get details like organization id, name, region, plan etc.

Sample flow:

We can verify the output using the postman request.

Get plan details:

GET https://anypoint.mulesoft.com/cloudhub/api/organization/plan

This API requires basic authentication as an authorization mechanism. It also requires X-ANYPNT-ENV-ID in header to provide environment id. It is used to get the subscription plan details for the current organization.

Sample flow:

We can verify the output using the postman request.

Get usage details:

GET https://anypoint.mulesoft.com/cloudhub/api/organization/usage

This API requires basic authentication as an authorization mechanism.It is used to get vcore/ worker usage details.

Sample flow:

We can verify the output using a postman request.

Get list of load-balancers:

GET https://anypoint.mulesoft.com/cloudhub/api/organizations/{orgId}/loadbalancers

This API requires basic authentication as an authorization mechanism.

Sample flow:

We can verify the output using the postman request.

We use cookies on this site to enhance your user experience. For a complete overview of how we use cookies, please see our privacy policy.