> ## Documentation Index
> Fetch the complete documentation index at: https://xata.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# organization

> Commands for managing Xata organizations

The `organization` command helps you create, list, describe, and manage organizations in Xata.

## Subcommands

### list

List all organizations.

```bash theme={null}
xata organization list [--json] [-h|--help]
```

<ParamField path="--json" type="boolean">
  Output in JSON format (default: false)
</ParamField>

<ParamField path="-h, --help" type="boolean">
  Print help information and exit
</ParamField>

**Aliases:** `ls`

### describe

Describe an organization.

```bash theme={null}
xata organization describe [--organization <id>] [--json] [-h|--help]
```

<ParamField path="--organization" type="string">
  Organization ID (default: "")
</ParamField>

<ParamField path="--json" type="boolean">
  Output in JSON format (default: false)
</ParamField>

<ParamField path="-h, --help" type="boolean">
  Print help information and exit
</ParamField>

**Aliases:** `view`, `show`

### create

Create a new organization.

```bash theme={null}
xata organization create --name <name> [--json] [-h|--help]
```

<ParamField path="--name" type="string" required>
  Organization Name
</ParamField>

<ParamField path="--json" type="boolean">
  Output in JSON format (default: false)
</ParamField>

<ParamField path="-h, --help" type="boolean">
  Print help information and exit
</ParamField>

### delete

Delete an organization.

```bash theme={null}
xata organization delete [--organization <id>] [--json] [--yes] [-h|--help]
```

<ParamField path="--organization" type="string">
  Organization ID (default: "")
</ParamField>

<ParamField path="--json" type="boolean">
  Output in JSON format (default: false)
</ParamField>

<ParamField path="--yes" type="boolean">
  Do not ask for confirmation, assume yes (default: false)
</ParamField>

<ParamField path="-h, --help" type="boolean">
  Print help information and exit
</ParamField>

### get

Get a field from an organization description.

```bash theme={null}
xata organization get [--organization <id>] <field> [-h|--help]
```

<ParamField path="--organization" type="string">
  Organization ID (default: "")
</ParamField>

<ParamField path="field" type="string" required>
  The field to get (default: `.catalog`)
</ParamField>

<ParamField path="-h, --help" type="boolean">
  Print help information and exit
</ParamField>

## Global Flags

<ParamField path="-h, --help" type="boolean">
  Print help information and exit
</ParamField>

<ParamField path="--json" type="boolean">
  Output in JSON format
</ParamField>
