---
title: influx bucket-schema
description: The influx bucket-schema command and its subcommands manage schemas of buckets in InfluxDB.
url: https://docs.influxdata.com/influxdb/v2/reference/cli/influx/bucket-schema/
estimated_tokens: 621
product: InfluxDB OSS v2
version: v2
---

# influx bucket-schema

-   influx CLI 2.1.0+
-   InfluxDB Cloud only

This page documents an earlier version of InfluxDB OSS. [InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### Works with InfluxDB Cloud bucket schemas

`influx bucket-schema` and its subcommands work with [InfluxDB Cloud bucket schemas](/influxdb/cloud/admin/buckets/bucket-schema). This feature is not available in InfluxDB OSS v2.3.

The `influx bucket-schema` command and its subcommands manage schemas for InfluxDB buckets.

## Usage

```
influx bucket-schema [flags]
influx bucket-schema [command]
```

## Subcommands

| Subcommand | Description |
| --- | --- |
| create | Create a bucket schema |
| list | List bucket schemas |
| update | Update a bucket schema |

## Flags

| Flag |  | Description |
| --- | --- | --- |
| -h | --help | Help for the bucket-schema command |

#### Related

-   [influx CLI—Provide required authentication credentials](/influxdb/v2/reference/cli/influx/#provide-required-authentication-credentials)
-   [influx CLI—Flag patterns and conventions](/influxdb/v2/reference/cli/influx/#flag-patterns-and-conventions)

[buckets](/influxdb/v2/tags/buckets/) [bucket-schema](/influxdb/v2/tags/bucket-schema/)
