<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-schema-registry-cluster-update"></a>

# confluent schema-registry cluster update

## Description

Update global mode or compatibility of Schema Registry.

```none
confluent schema-registry cluster update [flags]
```

## Flags

```none
--compatibility string              Can be "backward", "backward_transitive", "forward", "forward_transitive", "full", "full_transitive", or "none".
--compatibility-group string        The name of the compatibility group.
--metadata-defaults string          The path to the schema metadata defaults file.
--metadata-overrides string         The path to the schema metadata overrides file.
--ruleset-defaults string           The path to the schema ruleset defaults file.
--ruleset-overrides string          The path to the schema ruleset overrides file.
--mode string                       Can be "readwrite", "readonly", or "import".
--context string                    CLI context name.
--environment string                Environment ID.
--schema-registry-endpoint string   The URL of the Schema Registry cluster.
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
```

## Examples

Update top-level compatibility of Schema Registry.

```none
confluent schema-registry cluster update --compatibility backward
```

Update the top-level compatibility of Schema Registry and set the compatibility group to “application.version”.

```none
confluent schema-registry cluster update --compatibility backward --compatibility-group application.version
```

Update top-level mode of Schema Registry.

```none
confluent schema-registry cluster update --mode readwrite
```

## See Also

* [confluent schema-registry cluster](index.md#confluent-schema-registry-cluster) - Manage Schema Registry cluster.
