---
title: "POST /public/v1/clusters/{clusterName}/consumergroups/{consumerGroup}/offset-reset"
method: POST
path: "/public/v1/clusters/{clusterName}/consumergroups/{consumerGroup}/offset-reset"
tags: ["consumergroup"]
---

# POST /public/v1/clusters/{clusterName}/consumergroups/{consumerGroup}/offset-reset

`POST /public/v1/clusters/{clusterName}/consumergroups/{consumerGroup}/offset-reset`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/public/v1/clusters/{clusterName}/consumergroups/{consumerGroup}/offset-reset`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-console-api/docs/public/v1/clusters/:clusterName/consumergroups/:consumerGroup/offset-reset/post.ts> (a function with typed inputs; its response is checked against the schema)

Consumer group offset reset

## Path parameters

- `clusterName` string, required
- `consumerGroup` string, required

## Request body

- ResetOffsetRequest
  - `topicPartitionSelection` union, required
    - AllTopics
    - SinglePartition
      - `topic` string, required
      - `partition` integer, required
    - SingleTopic
      - `topic` string, required
  - `resetSpecification` union, required
    - ShiftBy
      - `n` integer, required
    - ToEarliest
    - ToLatest
    - ToOffset
      - `offset` integer, required
    - ToTimestamp
      - `timestamp` integer, required

## Response `200`

## Other responses

- `400`: The request is not valid
- `401`: The user is not authenticated
- `403`: The user doesn't have the required permission(s) "kafka.groups.reset" to do this operation
- `404`: No cluster with this technical id exist
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-console-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-console-api/revisions/24750c294805?raw)
