capabilities.work

Resolve Organization and List Environments

A 3-step recipe with MuleSoft. We can help you get access.

Recipe · 3 steps

Resolve Organization and List Environments

Look up an organization by name and enumerate its environments.

  1. Retrieve the organizations accessible to the authenticated user and pick the first one returned as the working organization.
  2. Fetch the full organization record to confirm entitlements and the set of embedded environments before listing them explicitly.
  3. List every environment belonging to the resolved organization.
What you'll need to have ready
  • bearerToken: Anypoint Platform bearer access token.
For your developer

Arazzo workflow mulesoft:resolve-org-and-list-environments, 3 operations: listOrganizations → getOrganization → listEnvironments. Specs on APIs.io.