---
title: "POST /consumers/{groupid}/instances/{name}/offsets"
method: POST
path: "/consumers/{groupid}/instances/{name}/offsets"
tags: ["Consumers"]
---

# POST /consumers/{groupid}/instances/{name}/offsets

`POST /consumers/{groupid}/instances/{name}/offsets`

Commits a list of consumer offsets. To commit offsets for all records fetched by the consumer, leave the request body empty.

## Response `204`

Commit made successfully.

## Other responses

- `404` — The specified consumer instance was not found.

## Changes

- **2019-07-03** `d4a613e407a1` — 3 breaking
  - the request property `offsets/items/offset` became required
  - the request property `offsets/items/partition` became required
  - the request property `offsets/items/topic` became required
- **2019-05-27** `574cafef42d9` — 1 breaking, 4 info
  - removed the success response with the status `200`
  - api tag `Consumers` added
  - added optional request body
  - added the non-success response with the status `404`
  - …1 more
- **2019-05-21** `c10758b73ea6` — 2 breaking, 3 info
  - removed the request body
  - removed the success response with the status `204`
  - api tag `Consumers` removed
  - removed the non-success response with the status `404`
  - …1 more

[Change history](https://skmtc.dev/strimzi/apis/http-bridge-api-reference/changes/consumers/:groupid/instances/:name/offsets/post.md)

---

[API](https://skmtc.dev/strimzi/apis/http-bridge-api-reference.md) · [All operations](https://skmtc.dev/strimzi/apis/http-bridge-api-reference/llms.txt) · [OpenAPI document](https://skmtc.dev/strimzi/apis/http-bridge-api-reference/revisions/f949bf0fadb1?raw)
