---
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: 466
product: InfluxDB OSS v2
version: v2
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb/v2/reference/cli/influx/bucket-schema/
date: '2025-04-02T15:54:32-06:00'
lastmod: '2025-04-02T15:54:32-06:00'
---

* 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](/influxdb/v2/reference/cli/influx/bucket-schema/create)|Create a bucket schema|
|  [list](/influxdb/v2/reference/cli/influx/bucket-schema/list)  | List bucket schemas  |
|[update](/influxdb/v2/reference/cli/influx/bucket-schema/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/)
| Subcommand | Description |
| --- | --- |
| Subcommand | Description |
| create | Create a bucket schema |
| list | List bucket schemas |
| update | Update a bucket schema |

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