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

<a id="confluent-context-update"></a>

# confluent context update

## Description

Update a context field.

```none
confluent context update [context] [flags]
```

## Flags

```none
    --name string            Set the name of the context.
    --kafka-cluster string   Set the active Kafka cluster for the context.
-o, --output string          Specify the output format as "human", "json", or "yaml". (default "human")
```

## 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).
```

## See Also

* [confluent context](index.md#confluent-context) - Manage CLI configuration contexts.
