> Full SurrealDB documentation index: https://surrealdb.com/docs/llms.txt

# surreal cloud commands

A map of every surreal cloud command group and leaf command, with links to the page documenting each one.

`surreal cloud` groups its commands by noun. A group on its own prints its own help; the leaf commands below do the work. Every command accepts the [global flags](/docs/reference/cli/cloud/global-flags.md), and every command except [`token create`](/docs/reference/cli/cloud/commands/token.md#token-create) accepts `--json`.

| Group | Leaf commands |
| --- | --- |
| [`auth`](/docs/reference/cli/cloud/commands/auth.md) | `login`, `logout`, `status`, `refresh`, `scopes` |
| [`org`](/docs/reference/cli/cloud/commands/org.md) | `list`, `get`, `create`, `update`, `archive`, `use`, `roles`, `permissions`, `usage`, `spend`, `plans` |
| [`instance`](/docs/reference/cli/cloud/commands/instance.md) | `list`, `get`, `create`, `update`, `delete`, `pause`, `resume`, `watch`, `status`, `endpoint`, `token`, `jwks`, `sql`, `import`, `export`, `metrics`, `logs`, `usage`, `estimate`, `capabilities get`, `capabilities set`, `backup list`, `backup create`, `backup policy get`, `backup policy set` |
| [`team`](/docs/reference/cli/cloud/commands/team.md) | `list`, `get`, `invite`, `update`, `remove` |
| [`invite`](/docs/reference/cli/cloud/commands/invite.md) | `list`, `create`, `delete` |
| [`token`](/docs/reference/cli/cloud/commands/token.md) | `list`, `create`, `delete`, `scopes` |
| [`catalog`](/docs/reference/cli/cloud/commands/catalog.md) | `regions`, `instance-types`, `storage-types`, `instance-versions`, `billing-countries` |
| [`config`](/docs/reference/cli/cloud/commands/config.md) | `list`, `get`, `set`, `unset`, `path`, `edit` |
| [`context`](/docs/reference/cli/cloud/commands/context.md) | `show`, `use`, `list` |
| [Other commands](/docs/reference/cli/cloud/commands/misc.md) | `whoami`, `api`, `open`, `status`, `version`, `completion` |

## Aliases

Plural spellings of the group nouns work, and so do two verb aliases. Nothing else is aliased.

| Alias | Means |
| --- | --- |
| `orgs`, `instances`, `teams`, `invites`, `tokens`, `contexts` | The singular group |
| `ls` | `list` |
| `rm` | `delete` - and `team remove` |
| `doctor` | `status` |

## Reading these pages

Each leaf command gets a usage block, a table of its arguments, a table of its own options, at least one runnable example, and a note on how it refuses.

Usage blocks are notation, not commands: `<NAME>` is a value you must supply, `[NAME]` one you may, `[OPTIONS]` any number of flags, and `...` marks something repeatable. Copy from the examples instead.

Flags shared across many commands are documented once:

- The [global flags](/docs/reference/cli/cloud/global-flags.md), accepted everywhere.
- The [list presentation flags](/docs/reference/cli/cloud/output-and-exit-codes.md#list-presentation-flags) - `--columns`, `--wide`, `--no-header`, `--sort`, `--reverse` and `--limit` - carried by every list-shaped command.
- The [wait flags](/docs/reference/cli/cloud/long-running-operations.md#the-wait-flags) - `--wait`, `--no-wait` and `--wait-timeout` - carried by five `instance` commands.

For queries, imports, exports and running a server, use the [database commands](/docs/reference/cli/db.md) (`surreal db ...`) instead. See the [overview](/docs/reference/cli/cloud.md) for where that boundary sits.
