Contact Us 1-800-596-4880

Anypoint CLI 4.x List of Commands

Anypoint Platform Accounts

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

API Catalog

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

API Governance

Command

Description

governance:api:evaluate

Evaluates filter criteria to determine which rulesets apply to APIs that meet that criteria

governance:api:inspect

Inspects an API specification and lists its schemas

governance:api:validate

Validates an API specification against a specified governance ruleset

governance:document

Creates the documentation file for a governance ruleset definition

governance:profile:create

Creates a governance profile

governance:profile:delete

Deletes a governance profile

governance:profile:info

Lists information for a specific governance profile ID

governance:profile:list

Lists all governance profiles for an organization

governance:profile:update

Updates a governance profile

governance:ruleset:clone

Clones a governance ruleset and applies specified updates to rules

governance:ruleset:info

Lists ruleset rules

governance:ruleset:init

Initializes a governance ruleset definition based on a data schema

governance:ruleset:validate

Validates a governance ruleset definition’s format

API Manager

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, 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

Cloudhub 2.0

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

Cloudhub Apps

Command Description

Lists all alerts in the environment

Describes the history of the alarm

Lists all applications in the environment

Shows application details

Stops a running application

Starts an application

Restarts a running application

Deletes an application

Deploys a new application

Modifies an existing application, optionally updating the ZIP file

Download application logs to specified directory

Tail application logs

Copies a CloudHub application

Lists all supported regions

Lists all available runtimes

Cloudhub Dedicated Load Balancers

Command Description

Lists all load balancers in an organization

Shows load balancer details

Creates a load balancer

Starts a load balancer

Stops a load balancer

Deletes a load balancer

Adds an additional certificate to an existing load balancer

Removes a certificate from a load balancer

Sets the default certificate that the load balancer will serve

Shows the load balancer configuration for a particular certificate

Adds an IP or range of IPs to the load balancer allowlist

Removes an IP or range of IPs from the load balancer allowlist

Lists the proxy mapping rules for a load balancer. If no certificateName is given, the mappings for the default SSL endpoint are shown

Adds a proxy mapping rule at the specified index. If no certificateName is given, the mappings for the default SSL endpoint are shown

Removes a proxy mapping rule. If no certificateName is given, the mappings for the default SSL endpoint are shown.

Enables dynamic IPs

Disables dynamic IPs

Cloudhub Anypoint VPCs

Command Description

Lists all Anypoint VPCs

Show Anypoint VPC details

Creates a new Anypoint VPC

Deletes an existing Anypoint VPC

Modifies the Anypoint VPC association to Runtime Manager environments.

Modifies the Anypoint VPC association to Runtime Manager environments.

Shares an Anypoint VPC with a list of Business Groups.

Shares 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 flag, internal DNS will be disabled

Clears the list domain names that are resolved using your internal DNS servers

Shows firewall rule for Mule applications in this Anypoint VPC

Adds a firewall rule for Mule applications in this Anypoint VPC

Removes a firewall rule for Mule applications in this Anypoint VPC

Datagraph Load Balancer

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

Design Center

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

Lists all Design Center projects

Exchange Assets

Command Description

Uploads an Exchange asset using Exchange Experience API

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

Undeprecates an asset

Shows 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

Modifies the status of an existing asset

Hybrid Applications

For the Anypoint Platform CLI to recognize your target servers, each server must be manually registered with the platform.
Command Description

Downloads a standalone application artifact binary

Deploys or redeploys an application to an on-premises server, server group, or cluster

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

Alerts for Hybrid Applications

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

Local Servers

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

Local Server Groups

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

Local Server Clusters

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