# mulesoft Anypoint CLI - Full Documentation --- product: Anypoint CLI version: 3.x --- # Anypoint CLI 3.x > For the full documentation index, see: https://docs.mulesoft.com/llms.txt Anypoint Platform provides a scripting and command-line tool for both Anypoint Platform and Anypoint Platform Private Cloud Edition (Anypoint Platform PCE). The command-line interface (CLI) supports both the interactive shell and standard CLI modes and works with: - [Anypoint Exchange](https://docs.mulesoft.com/exchange/) - [Anypoint DataGraph](https://docs.mulesoft.com/datagraph/) - [Access management](https://docs.mulesoft.com/access-management/) - [Anypoint Runtime Manager](https://docs.mulesoft.com/runtime-manager/) - [API Governance](https://docs.mulesoft.com/api-governance/) Use Runtime Manager to manage Mule applications deployed to CloudHub (hosted by MuleSoft) and locally hosted Mule servers. - [VPCs](https://docs.mulesoft.com/cloudhub/virtual-private-cloud) - [CloudHub Load Balancers](https://docs.mulesoft.com/cloudhub/cloudhub-dedicated-load-balancer) - [API Manager 2.x (Crowd Release)](https://docs.mulesoft.com/api-manager/latest/) - [Design Center](https://docs.mulesoft.com/design-center/) ## Prerequisites - Download and install NodeJS and npm (node package manager) on your system. Minimum versions required are: - Node.js LTS version 18.0.0 and later - npm 6.14.8 See the [NodeJS download page](https://nodejs.org/en/download/). - Download and install the Git version management on your system. See the [Git download site](https://git-scm.com/downloads). > [!NOTE] Depending on the configuration of your system, you might need to run these commands using > administrator credentials. ## Installation ```text $ npm install -g anypoint-cli@latest ``` > [!NOTE] Depending on the configuration of your system, you might need to run these commands using > administrator credentials. ## Authentication You can configure Anypoint CLI authentication with username and password, client ID and client secret, or a bearer token. At least one method is required. > [!NOTE] As a part of Multi-factor authentication (MFA) enablement for all users, starting October > 2022, the only way to use Anypoint CLI will be through > [Connected Apps](https://docs.mulesoft.com/access-management/connected-apps-overview). ### Username and Password If you don’t log in using single sign-on (SSO), you can use your username and password to log into the CLI directly.
| Parameter | Description |
|---|---|
| Your Anypoint Platform username You can also pass this value using the environment variable |
| Your Anypoint Platform password You can also pass this value using the environment variable |
| Parameter | Description |
|---|---|
| The ID of the Connected App You can also pass this value using the environment variable |
| The client secret of the Connected App You can also pass this value using the environment variable |
| Parameter | Description |
|---|---|
| A bearer token for the Anypoint Platform Your CLI session expires when the bearer token expires. |
| Parameter | Description |
|---|---|
| Your organization or sub-organization (business group) within Anypoint Platform. You can specify the root organization name or the name of a specific business group. You can also pass this value using the environment variable |
| Your Anypoint Platform environment You can also pass this value using the environment variable |
| The host of your Anypoint Platform Installation
You can also pass this value using a dedicated environment variable |
| Command | Description |
|---|---|
Show account details | |
Lists business groups | |
Show details of a business group | |
Lists environments | |
Create new environment | |
Delete an environment | |
Shows details of an environment |
| Command | Description |
|---|---|
Make specified environment active | |
Make specified business-group active |
Command | Description |
Evaluates filter criteria to determine which rulesets apply to APIs that meet that criteria | |
Inspects an API definition and lists its schemas | |
Validates an API definition against a specified governance ruleset | |
Creates the documentation file for a governance ruleset definition | |
Creates a governance profile | |
Deletes a governance profile | |
Lists information for a specific governance profile ID | |
Lists all governance profiles for an organization | |
Updates a governance profile | |
Clones a governance ruleset and applies specified updates to rules | |
Lists ruleset rules | |
Initializes a governance ruleset definition based on a data schema | |
Validates a governance ruleset definition’s format |
| Command | Description |
|---|---|
Creates an API instance alert | |
Lists alerts for an API instance | |
Changes the asset version for an API instance by choosing a new version from Exchange | |
Classifies an API instance in a given environment | |
Deletes an API | |
Deploys an API to CloudHub, hybrid server, or Runtime Fabric | |
Deprecates an API instance | |
Shows details of an API | |
Downloads the API proxy ZIP file to a local directory | |
Edits an API instance | |
Lists all APIs in API Manager 2.x | |
Manages a new API, API version, or new API instance with an asset from Exchange | |
Promotes an API instance from source environment | |
Redeploys an API to CloudHub, Hybrid server, or Runtime Fabric | |
Undeprecates an API instance | |
Deletes a given API contract | |
Lists all contracts to a given API instance. | |
Applies a policy to a given API instance | |
Shows the description and available configuration properties of a given policy template | |
Disables policy from a given API instance | |
Edits the policy configuration of a given API instance | |
Enables a policy on a given API instance | |
Lists policies | |
Removes a policy from a given API instance | |
Creates an SLA tier | |
Copies an SLA tier from source to a target API Instance | |
Deletes an SLA tier from an API instance | |
Lists the SLA tiers of an API instance |
| Command | Description |
|---|---|
Deletes an application | |
Deploys an application to a specified target using an Exchange application and runs the specified runtime version | |
Describes an application | |
Describes an application in raw JSON response | |
Downloads logs of an application from a specification to a specified directory | |
Lists all applications in an organization | |
Modifies a deployed application | |
Starts a stopped application | |
Stops running an application | |
Tails an application’s logs from a specification |
| Command | Description |
|---|---|
Lists all alerts in the environment | |
Describes the history of the alarm | |
Lists all applications in the environment | |
Show application details | |
Show raw application JSON response | |
Stop a running application | |
Start an application | |
Restart a running application | |
Delete an application | |
Deploy a new application | |
Modify an existing application, optionally updating the ZIP file | |
Download application logs to specified directory | |
Tail application logs | |
Copies a CloudHub application |
| Command | Description |
|---|---|
Lists all load balancers in an organization | |
Show load balancer details | |
Show load balancer details in raw JSON response | |
Create a load balancer | |
Starts a load balancer | |
Stops a load balancer | |
Delete a load balancer | |
Add an additional certificate to an existing load balancer | |
Remove a certificate from a load balancer | |
Set the default certificate that the load balancer will serve | |
Show the load balancer configuration for a particular certificate | |
Add an IP or range of IPs to the load balancer allowlist | |
Remove an IP or range of IPs from the load balancer allowlist | |
Lists the proxy mapping rules for a load balancer. If no | |
Add a proxy mapping rule at the specified index. If no | |
Remove a proxy mapping rule. If no | |
Enables dynamic IPs | |
Disables dynamic IPs | |
Lists all supported regions | |
Lists all available runtimes |
| Command | Description |
|---|---|
Lists all Anypoint VPCs | |
Show Anypoint VPC details | |
Show raw Anypoint VPC JSON response | |
Create a new Anypoint VPC | |
Delete an existing Anypoint VPC | |
Modifies the Anypoint VPC association to Runtime Manager environments. | |
Modifies the Anypoint VPC association to Runtime Manager environments. | |
Share an Anypoint VPC with a list of Business Groups. | |
Share an Anypoint VPC with a list of Business Groups. | |
Sets the domain names that are resolved using your internal DNS servers. If used with no option, internal DNS will be disabled | |
Clears the list domain names that are resolved using your internal DNS servers | |
Show firewall rule for Mule applications in this Anypoint VPC | |
Add a firewall rule for Mule applications in this Anypoint VPC | |
Remove a firewall rule for Mule applications in this Anypoint VPC |
| Command | Description |
|---|---|
Adds a dedicated load balancer configuration to Anypoint DataGraph | |
Displays a dedicated load balancer configuration for Anypoint DataGraph | |
Removes a dedicated load balancer configuration from Anypoint DataGraph |
| Command | Description |
|---|---|
Adds an API source | |
Promotes an API source | |
Updates an API source | |
Scales API calls made to the unified schema | |
Downloads the unified schema | |
Deletes an API source | |
Gets an API source | |
Lists all API sources | |
Returns information about DataGraph |
| Command | Description |
|---|---|
Creates a new Design Center project | |
Deletes a Design Center project | |
Downloads the content of a Design Center project | |
Publishes a Design Center project to Exchange | |
Uploads the content of a project to Design Center | |
List all Design Center projects |
| Command | Description |
|---|---|
Uploads an Exchange asset | |
Uploads an Exchange asset using Exchange Experience API v2 | |
Modifies mutable data of an existing Exchange asset | |
Modifies an Exchange asset | |
Downloads an Exchange asset | |
Lists all assets | |
Downloads an asset’s description page from Exchange | |
Changes an asset’s description page from Exchange | |
Uploads an asset’s description page from Exchange | |
Updates an asset’s description page from Exchange | |
Deletes an asset’s description page from Exchange | |
List all pages for a given asset | |
Copies an Exchange asset | |
Deletes an asset from Exchange | |
Deprecates an asset | |
Undeprecate an asset | |
Show a given asset’s information | |
Uploads a resource to an asset portal | |
Lists published resources in the asset portal | |
Downloads resource from the asset portal | |
Deletes resource from the asset portal |
| Command | Description |
|---|---|
Downloads a standalone application artifact binary | |
Deploys or redeploys an application to an on-premises server, server group, or cluster | |
Shows a raw standalone application JSON response | |
Changes a standalone application artifact | |
Starts a standalone application | |
Deletes a standalone application | |
Shows detailed information for a standalone application | |
Lists all standalone applications in the environment | |
Restarts a standalone application | |
Stops a standalone application | |
Copies a standalone application |
| Command | Description |
|---|---|
Describes an alert | |
Creates new alert for standalone runtime | |
Modifies alert for standalone runtime | |
Lists all alerts for standalone runtimes in the environment |
| Command | Description |
|---|---|
Describes server | |
Modifies server | |
Gets server registration token. This token needs to be used to register a new server | |
Deletes server | |
Changes an standalone application artifact |
| Command | Description |
|---|---|
Creates server group from servers | |
Describes server group | |
Modifies server group | |
Adds server to a server group | |
Deletes server group | |
Lists all server groups in the environment | |
Removes server from a server group |
| Command | Description |
|---|---|
Adds server to cluster | |
Deletes cluster | |
Lists all clusters in the environment | |
Removes server from a cluster | |
Creates new cluster | |
Describes server cluster | |
Modifies cluster |
| Command | Description |
|---|---|
Deletes an application | |
Deploys an application to a specified target using an Exchange application and runs the specified runtime version | |
Describes an application | |
Describes an application in a raw JSON response | |
Downloads logs of an application from a specification to a specified directory | |
Lists all applications in an organization | |
Modifies a deployed application | |
Starts a stopped application | |
Stops running an application | |
Tails an application’s logs from a specification |
| Command | Description |
|---|---|
Lists available Runtime Fabric instances |
| Command | Description |
|---|---|
Show details of a business group | |
Lists business groups | |
Create new environment | |
Delete an environment | |
Shows details of an environment | |
Lists environments | |
Show account details |
| Command | Description |
|---|---|
Builds the agent network project and validates configuration | |
Creates a new agent network project and generates the initial configuration files | |
Deploys the agent network project to the target environment | |
Publishes the agent network project to Anypoint Exchange | |
Undeploys the agent network project and removes all deployed runtime resources | |
Unpublishes the agent network project asset versions from Anypoint Exchange | |
Sets up the gateways for the agent network |
| Command | Description |
|---|---|
Configures autocompletion for API Catalog commands | |
Creates or deletes a credentials configuration file | |
Creates a descriptor file | |
Updates a descriptor file | |
Publishes assets to Exchange |
Command | Description |
Evaluates filter criteria to determine which rulesets apply to APIs that meet that criteria | |
Inspects an API specification and lists its schemas | |
Validates an API specification against a specified governance ruleset | |
Creates the documentation file for a governance ruleset definition | |
Creates an active governance profile | |
Deletes a governance profile | |
Lists information for a specific governance profile ID | |
Lists all governance profiles for an organization | |
Updates a governance profile | |
Clones a governance ruleset and applies specified updates to rules | |
Lists the target classes available for governance rulesets, grouped by prefix | |
Returns context-aware completions at a cursor position in a ruleset YAML file | |
Lists valid constraints by property type | |
Lists available metadata domains for governance rulesets | |
Returns context and instructions for generating a ruleset from a natural-language description | |
Lists ruleset rules | |
Initializes a governance ruleset definition based on a data schema | |
Lists the properties and types for a target class | |
Resolves a user-facing term to its canonical target class and property path | |
Simplifies a ruleset by flattening nested paths and removing redundant logical wrappers | |
Validates a governance ruleset definition’s format | |
Validates a ruleset against the authoring model | |
Shows the governance ruleset tooling version |
| Command | Description |
|---|---|
Creates an API instance alert | |
Lists alerts for an API instance | |
Lists the autodiscovery properties | |
Changes the asset version for an API instance by choosing a new version from Exchange | |
Classifies an API instance in a given environment | |
Deletes an API | |
Deploys an API to CloudHub, CloudHub2, Hybrid Server, or Runtime Fabric | |
Deprecates an API instance | |
Shows details of an API | |
Downloads the API proxy ZIP file to a local directory | |
Edits an API instance | |
Lists all APIs in API Manager 2.x | |
Manages a new API, API version, or new API instance with an asset from Exchange | |
Promotes an API instance from source environment | |
Redeploys an API to CloudHub, CloudHub2, Hybrid Server, or Runtime Fabric | |
Undeprecates an API instance | |
Adds an owner to a client application | |
Imports a client application from an external client identity provider | |
Lists possible owners for a client application in the current organization | |
Lists client identity providers with import enabled in the current organization | |
Deletes a given API contract | |
Lists all contracts to a given API instance | |
Applies a policy to a given API instance | |
Shows the description and available configuration properties of a given policy template | |
Disables policy from a given API instance | |
Edits the policy configuration of a given API instance | |
Enables a policy on a given API instance | |
Lists policies | |
Removes a policy from a given API instance | |
Creates an SLA tier | |
Copies an SLA tier from source to a target API instance | |
Deletes an SLA tier from an API instance | |
Lists the SLA tiers of an API instance | |
Creates an upstream for an API instance | |
Bulk edits the TLS context for all upstreams of an API instance | |
Deletes an upstream from an API instance | |
Edits an upstream of an API instance | |
Lists all upstreams for an API instance |
| Command | Description |
|---|---|
Deletes an application | |
Describes an application | |
Deploys an application to a specified target using an Exchange application and runs the specified runtime version | |
Downloads logs of an application from a specification to a specified directory | |
Lists all applications in an organization | |
Modifies a deployed application | |
Starts a stopped application | |
Stops running an application | |
Tails an application’s logs from a specification |
| Command | Description |
|---|---|
Describes the history of the alarm | |
Lists all alerts in the environment | |
Copies a CloudHub application | |
Deletes an application | |
Deploys a new application | |
Shows application details | |
Download application logs to specified directory | |
Lists all applications in the environment | |
Modifies an existing application, optionally updating the ZIP file | |
Restarts a running application | |
Starts an application | |
Stops a running application | |
Tail application logs | |
Lists all supported regions | |
Lists all available runtimes |
| Command | Description |
|---|---|
Adds an IP or range of IPs to the load balancer allowlist | |
Removes an IP or range of IPs from the load balancer allowlist | |
Creates a load balancer | |
Deletes a load balancer | |
Shows load balancer details | |
Disables dynamic IPs | |
Enables dynamic IPs | |
Lists all load balancers in an organization | |
Adds a proxy mapping rule at the specified index | |
Lists the proxy mapping rules for a load balancer | |
Removes a proxy mapping rule | |
Adds an additional certificate to an existing load balancer | |
Shows the load balancer configuration for a particular certificate | |
Removes a certificate from a load balancer | |
Sets the default certificate that the load balancer will serve | |
Starts a load balancer | |
Stops a load balancer | |
Adds an IP or range of IPs to the load balancer allowlist | |
Removes an IP or range of IPs from the load balancer allowlist |
| Command | Description |
|---|---|
Shares an Anypoint VPC with a list of Business Groups | |
Shares an Anypoint VPC with a list of Business Groups | |
Creates a new Anypoint VPC | |
Deletes an existing Anypoint VPC | |
Show Anypoint VPC details | |
Sets the domain names that are resolved using your internal DNS servers | |
Clears the list domain names that are resolved using your internal DNS servers | |
Modifies the Anypoint VPC association to Runtime Manager environments | |
Modifies the Anypoint VPC association to Runtime Manager environments | |
Adds a firewall rule for Mule applications in this Anypoint VPC | |
Shows firewall rule for Mule applications in this Anypoint VPC | |
Removes a firewall rule for Mule applications in this Anypoint VPC | |
Lists all Anypoint VPCs |
| Command | Description |
|---|---|
Adds a dedicated load balancer configuration to Anypoint DataGraph | |
Displays a dedicated load balancer configuration for Anypoint DataGraph | |
Removes a dedicated load balancer configuration from Anypoint DataGraph |
| Command | Description |
|---|---|
Creates a new Design Center project | |
Deletes a Design Center project | |
Downloads the content of a Design Center project | |
Lists all Design Center projects | |
Publishes a Design Center project to Exchange | |
Uploads the content of a project to Design Center |
| Command | Description |
|---|---|
Lists all available Mule runtime versions from Exchange | |
Downloads a Mule runtime to the local machine | |
Shows or sets the path to the local Mule runtime installation | |
Scaffolds a new Mule project with Maven structure and connector dependencies | |
Introspects a connector’s operations, sources, configs, and connection providers |
| Command | Description |
|---|---|
Copies an Exchange asset | |
Deletes an asset from Exchange | |
Deprecates an asset | |
Shows a given asset’s information | |
Downloads an Exchange asset | |
Lists all assets | |
Modifies an Exchange asset | |
Modifies mutable data of an existing Exchange asset | |
Deletes an asset’s description page from Exchange | |
Downloads an asset’s description page from Exchange | |
List all pages for a given asset | |
Changes an asset’s description page from Exchange | |
Updates an asset’s description page from Exchange | |
Uploads an asset’s description page from Exchange | |
Deletes resource from the asset portal | |
Downloads resource from the asset portal | |
Lists published resources in the asset portal | |
Uploads a resource to an asset portal | |
Undeprecates an asset | |
Modifies the status of an existing asset | |
Uploads an Exchange asset using Exchange Experience API |
| Command | Description |
|---|---|
Downloads a standalone application artifact binary | |
Copies a standalone application | |
Deletes a standalone application | |
Deploys or redeploys an application to an on-premises server, server group, or cluster | |
Shows detailed information for a standalone application | |
Lists all standalone applications in the environment | |
Changes a standalone application artifact | |
Restarts a standalone application | |
Starts a standalone application | |
Stops a standalone application |
| Command | Description |
|---|---|
Creates new alert for standalone runtime | |
Describes an alert | |
Lists all alerts for standalone runtimes in the environment | |
Modifies alert for standalone runtime |
| Command | Description |
|---|---|
Describes server | |
Deletes server | |
Changes an standalone application artifact | |
Modifies server | |
Gets server registration token. This token needs to be used to register a new server |
| Command | Description |
|---|---|
Adds server to cluster | |
Creates new cluster | |
Describes server cluster | |
Deletes cluster | |
Modifies cluster | |
Lists all clusters in the environment | |
Removes server from a cluster |
| Command | Description |
|---|---|
Adds server to a server group | |
Creates server group from servers | |
Describes server group | |
Deletes server group | |
Lists all server groups in the environment | |
Modifies server group | |
Removes server from a server group |
| Command | Description |
|---|---|
Create a Managed Omni Gateway | |
Delete a Managed Omni Gateway | |
Describe a specific Managed Omni Gateway | |
Edit a Managed Omni Gateway | |
Lists all Managed Omni Gateways in the environment | |
Start a Managed Omni Gateway | |
Stop a Managed Omni Gateway |
| Command | Description |
|---|---|
Creates a custom policy definition project |
| Flag | Description |
|---|---|
| Displays command usage information |
| Your organization within Anypoint Platform You can also pass this value using the environment variable |
| Your Anypoint Platform environment You can also pass this value using the environment variable |
| The host of your Anypoint Platform Installation
You can also pass this value using a dedicated environment variable |
| Command | Description |
|---|---|
Configures autocompletion for API Catalog commands | |
Creates or deletes a credentials configuration file | |
Creates a descriptor file | |
Updates a descriptor file | |
Publishes assets to Exchange |
| Flag | Description |
|---|---|
blank | Displays instructions for configuring autocompletion |
bash | Installs autocompletion using Bash shell settings |
zsh | Installs autocompletion using Z shell settings |
-r, --refresh cache | Removes the current autocompletion configuration. Use this before running the command with a different shell type. |
| Flag | Description |
|---|---|
| Deletes the config file entry for the given key |
| Shows the help for this command |
| Shows the value that corresponds with the given key |
| Shows the key that corresponds with the given value |
| Flag | Description |
|---|---|
| Default: The name and location in which to save the generated catalog descriptor file |
| Generates an |
| Flag | Description |
|---|---|
| Default: The name and location in which to save the updated catalog descriptor file information |
| Flag | Description |
|---|---|
| Runs the publish job asynchronously. |
or ANYPOINT_DESCRIPTOR_FILE environment variable | Default: ./catalog.yaml The name and location of the catalog descriptor file.
|
| Runs the command to verify that the descriptor file is valid. No APIs are published. |
| Bypasses the comparison and creates a new version of the asset in Exchange regardless of the content. |
| Updates the asset’s metadata, such as tags, in the latest version in Exchange regardless of the content. This does not republish the asset. |
| Prints the execution result in JSON format. |
| Enables silent logging. |
| This flag works in conjunction with the Example:
|
| Enables verbose logging. |
| This flag works in conjunction with the Example:
|
| Flag | Description |
|---|---|
or
| Connected app client ID See Authentication. |
or
| Prompt for the connected app secret for the client ID See Authentication. |
or
| Not currently used |
or
| The name of the Anypoint Platform environment where the APIs are cataloged |
or
| Default: anypoint.mulesoft.com The Anypoint Platform base URL without the protocol For the US Anypoint Platform, use: anypoint.mulesoft.com For the European Anypoint Platform, use: eu1.anypoint.mulesoft.com |
or
| The ID of the Anypoint Platform organization where the APIs are cataloged |
or
| Anypoint user password See Authentication. |
or
| Anypoint username See Authentication. |
| Command-Line Parameters | Environment Variables |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- |
|
- |
|
|
|
| Command | Description |
|---|---|
Builds the agent network project and validates configuration | |
Creates a new agent network project and generates the initial configuration files | |
Deploys the agent network project to the target environment | |
Publishes the agent network project to Anypoint Exchange | |
Undeploys the agent network project and removes all deployed runtime resources | |
Unpublishes the agent network project asset versions from Anypoint Exchange | |
Sets up the gateways for the agent network |
| Flag | Description | Example |
|---|---|---|
| Bearer token |
|
| Client ID |
|
| Client Secret |
|
| Collect metrics |
|
| Enable debug mode |
|
| Environment name |
|
| Force update the dependencies |
|
| Host URL |
|
| Organization name |
|
| Password |
|
| Path to the project |
|
| Username |
|
| Flag | Description | Example |
|---|---|---|
| (Required) Name of the project |
|
| Output directory for the project |
|
| API version |
|
| Asset name (GAV). Valid characters are 'A-Z', 'a-z', '0-9', '_' and '-'. |
|
| Asset version (GAV) |
|
| Bearer token |
|
| Client ID |
|
| Client Secret |
|
| Collect metrics |
|
| Create a new directory under |
|
| Environment name |
|
| Group ID (GAV) |
|
| Host URL |
|
| Organization name |
|
| Password |
|
| Tab size for indenting the API specification |
|
| Username |
|
| Flag | Description | Example |
|---|---|---|
| Name of the target egress gateway (separate-gateways mode; requires |
|
| Name of the gateway for single-gateway mode (recommended). Mutually exclusive with |
|
| Name of the target ingress gateway. Combine with |
|
| Name of the target space to deploy. In single-gateway mode, optional; when provided it must match the gateway’s target space (validated, not used for lookup). In separate-gateways mode, defaults to |
|
| Bearer token |
|
| Client ID |
|
| Client Secret |
|
| Collect metrics |
|
| Disable tracing functionalities |
|
| Do not wait for the agent network to be ready |
|
| Environment name |
|
| Host URL |
|
| Max retries to check the status of the deploying application |
|
| Organization name |
|
| Password |
|
| Path to the project |
|
| Process timeout in milliseconds |
|
| Property to override in |
|
| Request timeout in milliseconds |
|
| Username |
|
| Format output as JSON |
|
| Flag | Description | Example |
|---|---|---|
| Bearer token |
|
| Client ID |
|
| Client Secret |
|
| Collect metrics |
|
| Enable debug mode |
|
| Environment name |
|
| Host URL |
|
| Organization name |
|
| Password |
|
| Path to the project |
|
| Username |
|
| Format output as JSON |
|
| Flag | Description | Example |
|---|---|---|
| API version used to discover remotely deployed resources when using |
|
| Bearer token |
|
| Client ID |
|
| Client Secret |
|
| Collect metrics |
|
| Preview the deploy-plane resources that would be undeployed without deleting anything |
|
| Environment name |
|
| Parent asset GAV ( |
|
| Host URL |
|
| Format output as JSON |
|
| Organization name |
|
| Password |
|
| Path to the project. Discovers deployed resources remotely from the project lock file. Requires an environment to be selected. Mutually exclusive with |
|
| Process timeout in milliseconds |
|
| Request timeout in milliseconds |
|
| Username |
|
| Flag | Description | Example |
|---|---|---|
| API version used to discover remotely published assets when using |
|
| Bearer token |
|
| Client ID |
|
| Client Secret |
|
| Collect metrics |
|
| Preview the Exchange assets that would be unpublished without deleting anything |
|
| Environment name |
|
| Parent asset GAV ( |
|
| Permanently delete assets from Exchange. This cannot be undone |
|
| Host URL |
|
| Format output as JSON |
|
| Organization name |
|
| Password |
|
| Path to the project. Reads the published assets from the project lock file. Select an environment to enable the active API instances safety check. Mutually exclusive with |
|
| Username |
|
| Flag | Description | Example |
|---|---|---|
| Name of the egress gateway (separate-gateway mode; requires |
|
| Name of the gateway for single-gateway mode (recommended). Mutually exclusive with |
|
| Name of the ingress gateway (separate-gateway mode) |
|
| Name of the target space (private space, RTF, or shared space) where you set up the agent network environment |
|
| Bearer token |
|
| Client ID |
|
| Client Secret |
|
| Collect metrics |
|
| Do not wait for the gateways to be running |
|
| Environment name |
|
| Host URL |
|
| Organization name |
|
| Password |
|
| Username |
|
| Command | Description |
|---|---|
Show account details | |
Lists business groups | |
Show details of a business group | |
Lists environments | |
Create new environment | |
Delete an environment | |
Shows details of an environment |
| Command | Description |
|---|---|
Show details of a business group | |
Lists business groups | |
Create new environment | |
Delete an environment | |
Shows details of an environment | |
Lists environments | |
Show account details |
| Command | Description |
|---|---|
Lists all Anypoint VPCs | |
Show Anypoint VPC details | |
Show raw Anypoint VPC JSON response | |
Create a new Anypoint VPC | |
Delete an existing Anypoint VPC | |
Modifies the Anypoint VPC association to Runtime Manager environments. | |
Modifies the Anypoint VPC association to Runtime Manager environments. | |
Share an Anypoint VPC with a list of Business Groups. | |
Share an Anypoint VPC with a list of Business Groups. | |
Sets the domain names that are resolved using your internal DNS servers. If used with no option, internal DNS will be disabled | |
Clears the list domain names that are resolved using your internal DNS servers | |
Show firewall rule for Mule applications in this Anypoint VPC | |
Add a firewall rule for Mule applications in this Anypoint VPC | |
Remove a firewall rule for Mule applications in this Anypoint VPC |
| Option | Description |
|---|---|
| IP address for a DNS server to resolve special domains on. Can be specified up to 3 times |
| A domain to resolve on the special DNS server list. Can be specified multiple times |
| Option | Description | Example |
|---|---|---|
| Name of the Anypoint VPC to which this load balancer is bound. | vpc-demo |
| IP address in CIDR notation for the firewall to allow | 192.0.1.0/27 |
| The protocol to use in the rules. It can be | tcp |
| The port from which the firewall will allow requests. It can go from 0 to 65535 | 8888 |
| optional In case a port range is needed, the | 8090 |
| Command | Description |
|---|---|
Shares an Anypoint VPC with a list of Business Groups | |
Shares an Anypoint VPC with a list of Business Groups | |
Creates a new Anypoint VPC | |
Deletes an existing Anypoint VPC | |
Show Anypoint VPC details | |
Sets the domain names that are resolved using your internal DNS servers | |
Clears the list domain names that are resolved using your internal DNS servers | |
Modifies the Anypoint VPC association to Runtime Manager environments | |
Modifies the Anypoint VPC association to Runtime Manager environments | |
Adds a firewall rule for Mule applications in this Anypoint VPC | |
Shows firewall rule for Mule applications in this Anypoint VPC | |
Removes a firewall rule for Mule applications in this Anypoint VPC | |
Lists all Anypoint VPCs |
| Flag | Description | Example |
|---|---|---|
| A domain to resolve on the special DNS server list |
|
| IP address for a DNS server to resolve special domains on |
|
| Value | Description | Example |
|---|---|---|
| Name of the Anypoint VPC to which this load balancer is bound |
|
| IP address in CIDR notation for the firewall to allow |
|
| The protocol to use in the rules. It can be |
|
| The port from which the firewall will allow requests. It can go from 0 to 65535 |
|
| optional In case a port range is needed, the |
|
Command | Description |
Evaluates filter criteria to determine which rulesets apply to APIs that meet that criteria | |
Inspects an API definition and lists its schemas | |
Validates an API definition against a specified governance ruleset | |
Creates the documentation file for a governance ruleset definition | |
Creates a governance profile | |
Deletes a governance profile | |
Lists information for a specific governance profile ID | |
Lists all governance profiles for an organization | |
Updates a governance profile | |
Clones a governance ruleset and applies specified updates to rules | |
Lists ruleset rules | |
Initializes a governance ruleset definition based on a data schema | |
Validates a governance ruleset definition’s format |
| Option | Description |
|---|---|
--api=<api> | The API project against which you want to evaluate. The command uses the criteria in the project’s |
--criteria <filtertype:filtervalue>,… | Enables you to apply filters against which to evaluate to identify rulesets. Specify a list of comma-separated filters where each filter has a type and value, in the format Available filters include:
Example: tag:tag1,category:category1:value,category:category2:value2,status:stable,status:development,status:deprecated,scope:rest-api,scope:async-api,env-type:production |
| Option | Description |
|---|---|
--rulesets <ruleset-yaml-file1>,<ruleset-yaml-file2>,… | Local ruleset definitions. The |
--remote-rulesets <ruleset-asset-identifier>,<ruleset-asset-identifier>,… | Remote ruleset definitions. The |
--remote | Flag to indicate that the validation should be done against a published API. The value passed in |
| 1 | Total of functional and conformance validation issues found |
| 2 | Conformance issues section |
| 3 | Ruleset and rule to which this set of issues applies |
| 4 | Severity level for the issue |
| 5 | Description of the issue |
| 6 | AMF model node ID; for information on the AMF model, see Creating Custom Governance Rulesets |
| 7 | Beginning line number and column and end line number and column in the API definition where the issue occurs, where column is the offset from the beginning of the line and numbering for the offset starts at 0 |
| 8 | The file in which the issue occurs, either the main file or one of its dependencies |
| Option | Description |
|---|---|
--criteria <filtertype:filtervalue>,… | Enables you to apply filters to select the list of APIs to which the profile rulesets will apply. Specify a list of comma-separated filters where each filter has a type and value in the format Available filters include:
Example: tag:tag1,category:category1:value,category:category2:value2,status:stable,status:development,status:deprecated,scope:rest-api,scope:async-api,env-type:production |
--tags <tags> Deprecated | The |
--description <description> | The |
--notify-contact | Enables notifications and sets the recipient to the contact set for the API. |
--notify-publisher | Enables notifications and sets the recipient to the API publisher. |
--notify-others <email ID,email ID,…> | Enables notifications and sets the recipient to the specified list of email IDs. |
| Option | Description |
|---|---|
--profile-name <profile-name> | The |
--ruleset-gavs <ruleset-gavs> | The |
--criteria <filtertype:filtervalue>,… | Enables you to apply filters to select the list of APIs to which the profile rulesets will apply. Specify a list of comma-separated filters where each filter has a type and value in the format Available filters include:
Example: tag:tag1,category:category1:value,category:category2:value2,status:stable,status:development,status:deprecated,scope:rest-api,scope:async-api,env-type:production |
--tags <tags> Deprecated | The |
--description <description> | The |
--notify-off | Disables notifications. |
--notify-contact | Enables notifications and sets the recipient to the contact set for the API. |
--notify-publisher | Enables notifications and sets the recipient to the API publisher. |
--notify-others <email ID,email ID,…> | Enables notifications and sets the recipient to the specified list of email IDs. |
| Option | Description |
|---|---|
--remote | Indicates that the ruleset to clone is published in Exchange and that the |
--error=<list_rules_to_move_to_error> | The |
--warning=<list_rules_to_move_to_warning> | The |
--info=<list_rules_to_move_to_info> | The |
--remove=<list_rules_to_disable> | The |
| Option | Description |
|---|---|
--remote | Indicates that the ruleset for which to get information is published in Exchange and that the |
| Option | Description |
|---|---|
--types <types> | The |
--name <name> | The |
Command | Description |
Evaluates filter criteria to determine which rulesets apply to APIs that meet that criteria | |
Inspects an API specification and lists its schemas | |
Validates an API specification against a specified governance ruleset | |
Creates the documentation file for a governance ruleset definition | |
Creates an active governance profile | |
Deletes a governance profile | |
Lists information for a specific governance profile ID | |
Lists all governance profiles for an organization | |
Updates a governance profile | |
Clones a governance ruleset and applies specified updates to rules | |
Lists the target classes available for governance rulesets, grouped by prefix | |
Returns context-aware completions at a cursor position in a ruleset YAML file | |
Lists valid constraints by property type | |
Lists available metadata domains for governance rulesets | |
Returns context and instructions for generating a ruleset from a natural-language description | |
Lists ruleset rules | |
Initializes a governance ruleset definition based on a data schema | |
Lists the properties and types for a target class | |
Resolves a user-facing term to its canonical target class and property path | |
Simplifies a ruleset by flattening nested paths and removing redundant logical wrappers | |
Validates a governance ruleset definition’s format | |
Validates a ruleset against the authoring model | |
Shows the governance ruleset tooling version |
| Flag | Description |
|---|---|
| The API project against which you want to evaluate. The command uses the criteria in the project’s |
| Enables you to apply filters to select the list of APIs to which the profile rulesets apply. Specify a list of comma-separated filters where each filter has a type and value in the format Available filters include:
Example: tag:tag1,category:category1:value,category:category2:value2,scope:rest-api,scope:async-api,env-type:production |
| Flag | Description |
|---|---|
| Local ruleset definitions. The |
| Remote ruleset definitions. The |
| Flag to indicate that the validation should be done against a published API. The value passed in |
| 1 | Total of functional and conformance validation issues found |
| 2 | Conformance issues section |
| 3 | Ruleset and rule to which this set of issues applies |
| 4 | Severity level for the issue |
| 5 | Description of the issue |
| 6 | AMF model node ID; for information on the AMF model, see Creating Custom Governance Rulesets |
| 7 | Beginning line number and column and end line number and column in the API specification where the issue occurs, where column is the offset from the beginning of the line and numbering for the offset starts at 0 |
| 8 | The file in which the issue occurs, either the main file or one of its dependencies |
| Flag | Description |
|---|---|
| Enables you to apply filters to select the list of APIs to which the profile rulesets apply. Specify a list of comma-separated filters where each filter has a type and value in the format Available filters include:
Example: tag:tag1,category:category1:value,category:category2:value2,scope:rest-api,scope:async-api,env-type:production |
| The |
| Enables notifications and sets the recipient to the contact set for the API. |
| Enables notifications and sets the recipient to the API publisher. |
| Enables notifications and sets the recipient to the specified list of email IDs. |
| Flag | Description |
|---|---|
| Format for the command output. Supported values are |
| Flag | Description |
|---|---|
| Format for the command output. Supported values are |
| Flag | Description |
|---|---|
| The |
| The |
| Enables you to apply filters to select the list of APIs to which the profile rulesets apply. Specify a list of comma-separated filters where each filter has a type and value in the format Available filters include:
Example: tag:tag1,category:category1:value,category:category2:value2,scope:rest-api,scope:async-api,env-type:production |
| The |
| Disables notifications. |
| Enables notifications and sets the recipient to the contact set for the API. |
| Enables notifications and sets the recipient to the API publisher. |
| Enables notifications and sets the recipient to the specified list of email IDs. |
| Flag | Description |
|---|---|
| Filters the list to classes belonging to the specified domain. Supported values are |
| Flag | Description |
|---|---|
| Indicates that the ruleset to clone is published in Exchange and that the |
| The |
| The |
| The |
| The |
| Flag | Description |
|---|---|
| The cursor offset in the file. Required. |
| The current line text up to the cursor. Required. |
| Flag | Description |
|---|---|
| Filters the list to constraints for the specified property type. Supported values are |
| Flag | Description |
|---|---|
| Path to an API spec for context extraction. The command detects whether the spec is RAML or OpenAPI. |
| Retry attempt number. Values greater than |
| Flag | Description |
|---|---|
| Indicates that the ruleset for which to get information is published in Exchange and that the |
| Flag | Description |
|---|---|
| The |
| The |
| Command | Description |
|---|---|
Creates an API instance alert | |
Lists alerts for an API instance | |
Changes the asset version for an API instance by choosing a new version from Exchange | |
Classifies an API instance in a given environment | |
Deletes an API | |
Deploys an API to CloudHub, hybrid server, or Runtime Fabric | |
Deprecates an API instance | |
Shows details of an API | |
Downloads the API proxy ZIP file to a local directory | |
Edits an API instance | |
Lists all APIs in API Manager 2.x | |
Manages a new API, API version, or new API instance with an asset from Exchange | |
Promotes an API instance from source environment | |
Redeploys an API to CloudHub, Hybrid server, or Runtime Fabric | |
Undeprecates an API instance | |
Deletes a given API contract | |
Lists all contracts to a given API instance. | |
Applies a policy to a given API instance | |
Shows the description and available configuration properties of a given policy template | |
Disables policy from a given API instance | |
Edits the policy configuration of a given API instance | |
Enables a policy on a given API instance | |
Lists policies | |
Removes a policy from a given API instance | |
Creates an SLA tier | |
Copies an SLA tier from source to a target API Instance | |
Deletes an SLA tier from an API instance | |
Lists the SLA tiers of an API instance |
| Option | Description |
|---|---|
| Sets whether the alert should be enabled or not. |
| Alert severity. |
| Alert type/condition. |
| Condition operator explaining values relation to threshold. |
| Condition occurrences threshold number. |
| Number of consecutive periods condition should occur for. |
| Condition occurrence period duration. |
| Condition occurrence period duration unit. |
| Username to send alert notification to. |
| Email to send alert notification to. |
| Response time to trigger |
| Response codes to trigger |
| ID of a policy applied to API instance to trigger |
| Option | Description | Example |
|---|---|---|
| Offsets the amount of APIs passed |
|
| Sorts the results in the field name passed |
|
| Option | Description | Example |
|---|---|---|
| Hybrid or RTF deployment target ID. |
|
| Application name |
|
| Target environment name. Should only be used when deploying APIs from unclassified environments. |
|
| The CloudHub Gateway version |
|
| Update application if it exists. |
|
| Option | Description |
|---|---|
| Indicates whether the endpoint should use a proxy. |
| Indicates whether a proxy should reference a user domain. |
| Indicates whether you are managing this API in Mule 4 or above. |
| Deployment type. |
| Consumer endpoint URI. |
| Implementation URI. |
| Proxy scheme. |
| Proxy port. |
| Proxy path. |
| Your maximum response timeout. |
| (Optional) API instance label. |
| WSDL service name. |
| WSDL service namespace. |
| WSDL service port. |
| Option | Description |
|---|---|
| Asset ID by which filter results. |
| API version by which filter results. |
| API instance label by which filter results. |
| Number of results to retrieve. |
| Offsets the amount of APIs passed |
| Sorts the results in the field name passed |
| Option | Description |
|---|---|
| Endpoint type. |
| Indicates whether the endpoint should use a proxy. |
| Indicates whether a proxy should reference a user domain. |
| Indicates whether you are managing this API in Mule 4 or above. |
| Deployment type. |
| Consumer endpoint URI. |
| Implementation URI. |
| Proxy scheme. |
| Proxy port. |
| Proxy path. |
| Response timeout. |
| (Optional) API instance label. |
| WSDL service name. |
| WSDL service namespace. |
| WSDL service port. |
| Option | Description |
|---|---|
| Indicates whether to copy alerts. |
| Indicates whether to copy policies. |
| Indicates whether to copy tiers. |
| Option | Description |
|---|---|
| Hybrid or RTF deployment target ID. |
| Application name. |
| Target environment name. |
| CloudHub Gateway version. |
| Update application if exists. |
| Option | Description | Example |
|---|---|---|
| Number of results to retrieve |
|
| Offsets the amount of APIs passed |
|
| Sorts the results in the field name passed |
|
| Option | Description |
|---|---|
| Mule 4 policy version. |
| Mule 4 policy group ID. |
| Pass the configuration data as a JSON string. |
| Pass the configuration data as a file. |
| Pass pointcut data as JSON strings. |
| Option | Description |
|---|---|
| Mule4 policy version. |
| Mule4 policy group ID. |
| Option | Description |
|---|---|
| Pass the configuration data as a JSON string. |
| Pass pointcut data as JSON strings. |
| Option | Description |
|---|---|
| Indicates whether the SAL tier should be auto-approved. |
| Tier name |
| Tier description |
| Single instance of an SLA tier limit in the form
For example: To create multiple limits, you can provide multiple --limit options.For example: -l true,100,sec -l false,20,min |
| Option | Description |
|---|---|
Example |
|
Number of results to retrieve |
|
| Offsets the amount of APIs passed |
|
|
Sorts the results in the field name passed |
|
| Command | Description |
|---|---|
Creates an API instance alert | |
Lists alerts for an API instance | |
Lists the autodiscovery properties | |
Changes the asset version for an API instance by choosing a new version from Exchange | |
Classifies an API instance in a given environment | |
Deletes an API | |
Deploys an API to CloudHub, CloudHub2, Hybrid Server, or Runtime Fabric | |
Deprecates an API instance | |
Shows details of an API | |
Downloads the API proxy ZIP file to a local directory | |
Edits an API instance | |
Lists all APIs in API Manager 2.x | |
Manages a new API, API version, or new API instance with an asset from Exchange | |
Promotes an API instance from source environment | |
Redeploys an API to CloudHub, CloudHub2, Hybrid Server, or Runtime Fabric | |
Undeprecates an API instance | |
Adds an owner to a client application | |
Imports a client application from an external client identity provider | |
Lists possible owners for a client application in the current organization | |
Lists client identity providers with import enabled in the current organization | |
Deletes a given API contract | |
Lists all contracts to a given API instance | |
Applies a policy to a given API instance | |
Shows the description and available configuration properties of a given policy template | |
Disables policy from a given API instance | |
Edits the policy configuration of a given API instance | |
Enables a policy on a given API instance | |
Lists policies | |
Removes a policy from a given API instance | |
Creates an SLA tier | |
Copies an SLA tier from source to a target API instance | |
Deletes an SLA tier from an API instance | |
Lists the SLA tiers of an API instance | |
Creates an upstream for an API instance | |
Bulk edits the TLS context for all upstreams of an API instance | |
Deletes an upstream from an API instance | |
Edits an upstream of an API instance | |
Lists all upstreams for an API instance |
| Flag | Description | Example |
|---|---|---|
| Condition occurrence period duration. |
|
| Condition occurrence period duration unit. |
|
| Email to send alert notification to. |
|
| Sets whether the alert is enabled. Include the flag to enable the alert. |
|
| Condition operator that explains values in relation to threshold. |
|
| Specifies the response format, supported values are |
|
| Number of consecutive periods condition should occur for. |
|
| ID of a policy applied to the API instance that triggers a |
|
| Username to send alert notification to. |
|
| Response codes to trigger |
|
| Response time to trigger |
|
| Alert severity. |
|
| Condition occurrences threshold number. |
|
| Alert type/condition. |
|
| Flag | Description | Example |
|---|---|---|
| Number of results to retrieve, default is 10 results |
|
| Offsets the amount of APIs passed |
|
| Specifies the response format |
|
| Sorts the results in the field name passed |
|
| Flag | Description | Example |
|---|---|---|
| Specifies the gateway version to download |
|
| Specifies the response format |
|
| Flag | Description | Example |
|---|---|---|
| Application name |
|
| Target environment name, only for when deploying API instances from unclassified environments |
|
| The CloudHub Gateway version |
|
| Gateway Java version |
|
| Set the name of the release channel to be used for the selected Mule version. + Supported values are |
|
| Update application if it exists |
|
| Specifies the response format, supported values are |
|
| Hybrid, RTF, CH, or CH2 deployment target ID |
|