---
title: "Topic Configure"
method: POST
path: "/api/v1.msgs.topic.configure"
tags: ["Msgs"]
---

# Topic Configure

`POST /api/v1.msgs.topic.configure`

Configures the number of partitions for a topic.

Partition count can only be increased, never decreased. The default for a new topic is 1.

## Request body

- MsgTopicConfigureIn
  - `namespace` string, nullable
  - `topic` string, required
  - `partitions` integer, required

## Response `200`

- MsgTopicConfigureOut
  - `partitions` integer, required

## Other responses

- `400`
- `401`
- `403`
- `422`

---

[API](https://skmtc.net/svix/apis/diom-api.md) · [All operations](https://skmtc.net/svix/apis/diom-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/svix/diom-api/revisions/e98d7f3a3e10/schema)
