---
title: "Add topic partitions"
method: PATCH
path: "/v1/topics/{topic_name}/partitions"
tags: ["Topics"]
---

# Add topic partitions

`PATCH /v1/topics/{topic_name}/partitions`

Add partitions to an existing topic. Depending on the partitioning strategy used, this may impact ordering guarantees.

## Path parameters

- `topic_name` string, required

## Request body

- AddTopicPartitionsBody
  - `partition_count` integer — The number of partitions to add to the topic.
  - `validate_only` boolean — Validate the request only, do not execute it.

## Response `200`

OK

- AddTopicPartitionsResponse

## Other responses

- `401` — Unauthenticated.
- `404` — Not Found
- `500` — Internal Server Error. Reach out to support.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/redpanda-data/apis/redpanda-cloud-data-plane-api.md) · [All operations](https://skmtc.net/redpanda-data/apis/redpanda-cloud-data-plane-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/redpanda-data/redpanda-cloud-data-plane-api/versions/2917b4dd86f7/schema)
