{
  "opencollection": "1.0.0",
  "info": {
    "name": "MuleSoft Anypoint Platform API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mulesoft List Organizations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://anypoint.mulesoft.com/accounts/api/organizations"
          },
          "docs": "Retrieves a list of organizations accessible to the authenticated user, including the root organization and any business groups."
        },
        {
          "info": {
            "name": "Mulesoft Get Organization Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://anypoint.mulesoft.com/accounts/api/organizations/:orgId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization"
              }
            ]
          },
          "docs": "Retrieves detailed information about a specific organization, including its name, owner, entitlements, and associated business groups."
        },
        {
          "info": {
            "name": "Mulesoft Update Organization",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://anypoint.mulesoft.com/accounts/api/organizations/:orgId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the properties of an existing organization, such as its name, session timeout, or entitlement settings."
        },
        {
          "info": {
            "name": "Mulesoft Delete Organization",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://anypoint.mulesoft.com/accounts/api/organizations/:orgId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization"
              }
            ]
          },
          "docs": "Deletes a business group. The root organization cannot be deleted. All environments and resources within the business group are removed."
        }
      ]
    },
    {
      "info": {
        "name": "Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mulesoft List Environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://anypoint.mulesoft.com/accounts/api/organizations/:orgId/environments",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization"
              }
            ]
          },
          "docs": "Retrieves all environments within the specified organization. Each environment represents an isolated deployment target such as Design, Sandbox, or Production."
        },
        {
          "info": {
            "name": "Mulesoft Create Environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://anypoint.mulesoft.com/accounts/api/organizations/:orgId/environments",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new environment within the specified organization. The environment type determines its purpose and available features."
        },
        {
          "info": {
            "name": "Mulesoft Get Environment Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://anypoint.mulesoft.com/accounts/api/organizations/:orgId/environments/:envId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization"
              },
              {
                "name": "envId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the environment"
              }
            ]
          },
          "docs": "Retrieves detailed information about a specific environment, including its type, client ID, and configuration settings."
        },
        {
          "info": {
            "name": "Mulesoft Update Environment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://anypoint.mulesoft.com/accounts/api/organizations/:orgId/environments/:envId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization"
              },
              {
                "name": "envId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the environment"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the properties of an existing environment, such as its name or type classification."
        },
        {
          "info": {
            "name": "Mulesoft Delete Environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://anypoint.mulesoft.com/accounts/api/organizations/:orgId/environments/:envId",
            "params": [
              {
                "name": "orgId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the organization"
              },
              {
                "name": "envId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the environment"
              }
            ]
          },
          "docs": "Deletes an environment and all resources deployed within it. Production environments may require additional confirmation."
        }
      ]
    },
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mulesoft List Applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://anypoint.mulesoft.com/cloudhub/api/v2/applications",
            "headers": [
              {
                "name": "X-ANYPNT-ENV-ID",
                "value": "500123"
              },
              {
                "name": "X-ANYPNT-ORG-ID",
                "value": "500123"
              }
            ]
          },
          "docs": "Retrieves a list of all Mule applications deployed to CloudHub within the current environment. Returns application metadata, deployment status, and runtime information."
        },
        {
          "info": {
            "name": "Mulesoft Create Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://anypoint.mulesoft.com/cloudhub/api/v2/applications",
            "headers": [
              {
                "name": "X-ANYPNT-ENV-ID",
                "value": "500123"
              },
              {
                "name": "X-ANYPNT-ORG-ID",
                "value": "500123"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deploys a new Mule application to CloudHub. The application configuration includes the runtime version, worker size, number of workers, and application properties."
        },
        {
          "info": {
            "name": "Mulesoft Get Application Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://anypoint.mulesoft.com/cloudhub/api/v2/applications/:domain",
            "headers": [
              {
                "name": "X-ANYPNT-ENV-ID",
                "value": "500123"
              },
              {
                "name": "X-ANYPNT-ORG-ID",
                "value": "500123"
              }
            ],
            "params": [
              {
                "name": "domain",
                "value": "",
                "type": "path",
                "description": "The unique domain name of the CloudHub application"
              }
            ]
          },
          "docs": "Retrieves detailed information about a specific CloudHub application, including its deployment status, runtime version, worker configuration, and application properties."
        },
        {
          "info": {
            "name": "Mulesoft Update Application",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://anypoint.mulesoft.com/cloudhub/api/v2/applications/:domain",
            "headers": [
              {
                "name": "X-ANYPNT-ENV-ID",
                "value": "500123"
              },
              {
                "name": "X-ANYPNT-ORG-ID",
                "value": "500123"
              }
            ],
            "params": [
              {
                "name": "domain",
                "value": "",
                "type": "path",
                "description": "The unique domain name of the CloudHub application"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of an existing CloudHub application. Can be used to change runtime version, worker configuration, properties, or redeploy with a new application archive."
        },
        {
          "info": {
            "name": "Mulesoft Delete Application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://anypoint.mulesoft.com/cloudhub/api/v2/applications/:domain",
            "headers": [
              {
                "name": "X-ANYPNT-ENV-ID",
                "value": "500123"
              },
              {
                "name": "X-ANYPNT-ORG-ID",
                "value": "500123"
              }
            ],
            "params": [
              {
                "name": "domain",
                "value": "",
                "type": "path",
                "description": "The unique domain name of the CloudHub application"
              }
            ]
          },
          "docs": "Deletes a CloudHub application and stops all running workers. The application domain becomes available for reuse after deletion."
        },
        {
          "info": {
            "name": "Mulesoft Get Application Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://anypoint.mulesoft.com/cloudhub/api/v2/applications/:domain/status",
            "headers": [
              {
                "name": "X-ANYPNT-ENV-ID",
                "value": "500123"
              },
              {
                "name": "X-ANYPNT-ORG-ID",
                "value": "500123"
              }
            ],
            "params": [
              {
                "name": "domain",
                "value": "",
                "type": "path",
                "description": "The unique domain name of the CloudHub application"
              }
            ]
          },
          "docs": "Retrieves the current deployment status of a CloudHub application, including the status of each worker instance."
        }
      ]
    }
  ],
  "bundled": true
}