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

# Tenants

> Every tenants command in the Flexprice CLI, with flags, required fields and examples.

## billing-usage

Get billing usage for the current tenant

```sh theme={null}
flexprice tenants billing-usage
```

## retrieve

Get tenant by ID

```sh theme={null}
flexprice tenants retrieve
```

## update

Update a tenant

| Flag     | Type   | Required |
| -------- | ------ | -------- |
| `--name` | string |          |

<Note>
  These fields are nested and cannot be set with flags. Use `--edit` to fill in a pre-built request body, or `--data @file.json`.

  * `billing_details` (object)
  * `metadata` (object)
</Note>

```sh theme={null}
flexprice tenants update
```
