---
title: "Reset Consumer Group Offsets"
method: POST
path: "/consumer-groups/{group_id}/reset-offsets"
tags: ["Consumer Groups"]
---

# Reset Consumer Group Offsets

`POST /consumer-groups/{group_id}/reset-offsets`

Reset offsets for selected topics in a consumer group.

Supports multiselect topics and multiple reset strategies:
- earliest: Reset to beginning of topic
- latest: Reset to end of topic (skip all messages)
- timestamp: Reset to specific timestamp
- offset: Reset to specific offset value

## Path parameters

- `group_id` string, required

## Request body

- ResetOffsetsRequest — Request body for resetting consumer group offsets.
  - `topics` string[], required — Topics to reset offsets for
  - `strategy` 'earliest' | 'latest' | 'timestamp' | 'offset', required — Offset reset strategy
  - `timestamp` integer, nullable — Unix timestamp in ms (for 'timestamp' strategy)
  - `offset` integer, nullable — Specific offset value (for 'offset' strategy)

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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