---
schema_version: "1"
id: 25892a8289e135f0c6e0b72447e13c5e6e9f25212483db3897eea852c7a3e4ba
title: CLI for Anypoint Platform Accounts
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/anypoint-cli/3.x/account.md
canonical_url: https://docs.mulesoft.com/anypoint-cli/3.x/account
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 882afe79c1f7565df5499214c8a312e233cab65583441592ecf63ef4bdfc940e
description: MuleSoft Documentation Site
release: 3.x
latest: false
---
---
product: Anypoint CLI
version: 3.x
---

# CLI for Anypoint Platform Accounts

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

<table><colgroup><col> <col></colgroup><thead><tr><th>Command</th><th>Description</th></tr></thead><tbody><tr><td><div><div><p><a href="#account-user-describe">account user describe</a></p></div></div></td><td><div><div><p>Show account details</p></div></div></td></tr><tr><td><div><div><p><a href="#account-business-group-list">account business-group list</a></p></div></div></td><td><div><div><p>Lists business groups</p></div></div></td></tr><tr><td><div><div><p><a href="#account-business-group-describe">account business-group describe</a></p></div></div></td><td><div><div><p>Show details of a business group</p></div></div></td></tr><tr><td><div><div><p><a href="#account-environment-list">account environment list</a></p></div></div></td><td><div><div><p>Lists environments</p></div></div></td></tr><tr><td><div><div><p><a href="#account-environment-create">account environment create</a></p></div></div></td><td><div><div><p>Create new environment</p></div></div></td></tr><tr><td><div><div><p><a href="#account-environment-delete">account environment delete</a></p></div></div></td><td><div><div><p>Delete an environment</p></div></div></td></tr><tr><td><div><div><p><a href="#account-environment-describe">account environment describe</a></p></div></div></td><td><div><div><p>Shows details of an environment</p></div></div></td></tr></tbody></table>

## account user describe

\> account user describe \[options\]

This command simply returns the information for your account. This includes your username, your full
name, your email address, and the creation date of your account.  
This command does not take any options, except for the default ones: `--help`, `-f`/`--fields` and
`-o`/`--output`

## account business-group list

\> account business-group list \[options\]

This command displays all [business groups](https://docs.mulesoft.com/access-management/business-groups). It returns the
name of the business group, the type ('Master' or 'Business unit'), and the ID.

This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`.

## account business-group describe

\> account business-group describe \[options\] <identifier>

This command displays information on the business group you pass in `<identifier>`.  
If `<identifier>` is not specified, the command describes the business group on the current session.
Identifier searches for id match first, then name.

> [!NOTE] If your business group or organization name contains spaces, you need to enclose its name
> between `"` characters.
>
> > \> account business-group describe "QA Organization"

It returns data such as the owner, the type, subscription information, the entitlements of the group
and in which environment is running.

This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`.

## account environment list

\> account environment list \[options\]

This command lists all your environments in Anypoint Platform. It returns your environment name, Id
and whether it’s sandboxed or not.  
This command does not take any options, except for the default ones: `--help`, `-f`/`--fields` and
`-o`/`--output`

## account environment create

\> account environment create \[options\] <name>

This command creates a new environment using the name you set in `<name>`.  
Besides the default `--help`, `-f`/`--fields` and `-o`/`--output` options, this command also takes
the `--type` option. Use the `--type` option to specify the environment type.  
Supported values for environment types are:

- `design`

- `production`

- `sandbox`

If no type is specified, the command creates a production environment.

## account environment delete

\> account environment delete \[options\] <name>

This command deletes the environment specified in `<name>`

> [!WARNING] This command does not prompt twice before deleting. If you send a delete instruction,
> it does not ask for confirmation.

This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`.

## account environment describe

\> account environment describe \[options\] <name>

This command returns information about the environment specified in `<name>`  
If no `<name>` is provided, this command returns information about the current session’s
environment.

This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`.
