# rpk cluster quotas alter

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

---
title: rpk cluster quotas alter
latest-operator-version: v26.2.1
latest-console-tag: v3.9.0
latest-connect-version: 4.104.0
latest-redpanda-tag: v26.2.1
docname: rpk/rpk-cluster/rpk-cluster-quotas-alter
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: rpk/rpk-cluster/rpk-cluster-quotas-alter.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/reference/pages/rpk/rpk-cluster/rpk-cluster-quotas-alter.adoc
page-git-created-date: "2025-08-19"
page-git-modified-date: "2026-05-26"
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/reference/rpk/rpk-cluster/rpk-cluster-quotas-alter.md -->

Add or delete a client quota.

This command allows you to add or delete a client quota.

A client quota consists of an entity (to whom the quota is applied) and a quota type (what is being applied).

There are three entity types supported by Redpanda: user, client ID, and client ID prefix.

Assigning quotas to default entity types is possible using the `--default` flag.

You can perform a dry run using the `--dry` flag.

## [](#usage)Usage

```bash
rpk cluster quotas alter [flags]
```

## [](#examples)Examples

This section provides examples of how to use `rpk cluster quotas alter`.

Add quota (consumer\_byte\_rate) to client ID `<foo>`.

```bash
rpk cluster quotas alter --add consumer_byte_rate=200000 --name client-id=<foo>
```

Add quota (consumer\_byte\_rate) to client ID starting with `<bar>-`.

```bash
rpk cluster quotas alter --add consumer_byte_rate=200000 --name client-id-prefix=<bar>-
```

Add quota (producer\_byte\_rate) to default client ID.

```bash
rpk cluster quotas alter --add producer_byte_rate=180000 --default client-id
```

Remove quota (producer\_byte\_rate) from client ID `foo`.

```bash
rpk cluster quotas alter --delete producer_byte_rate --name client-id=<foo>
```

## [](#flags)Flags

| Value | Type | Description |
| --- | --- | --- |
| --add | stringSlice | Key=value quota to add, where the value is a float number (repeatable). |
| --default | stringSlice | Entity type for default matching, where type is client-id or client-id-prefix (repeatable). |
| --delete | stringSlice | Key of the quota to delete (repeatable). |
| --dry | bool | Dry run: validate the request without altering the quotas. |
| --name | stringSlice | Entity for exact matching. Format type=name where type is client-id or client-id-prefix (repeatable). |

## [](#global-flags)Global flags

| Value | Type | Description |
| --- | --- | --- |
| --config | string | Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml. |
| -X, --config-opt | stringArray | Override rpk configuration settings; -X help for detail or -X list for terser detail. |
| --ignore-profile | bool | Ignore rpk.yaml and redpanda.yaml; use default settings. |
| --profile | string | rpk profile to use. |
| -v, --verbose | bool | Enable verbose logging. |