---
title: "Changes to Discard uncommitted (staged) changes"
method: POST
path: "/version/undo"
---

# Changes to Discard uncommitted (staged) changes

`POST /version/undo`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 89 revisions.

- **2026-10-18** `fd542bb248a2`: 1 info
- **2026-07-23** `e9bef570d106`: 6 info
- **2026-03-06** `11df16b26c1d`: 1 breaking, 1 warning
- **2025-11-15** `72b542d3fe49`: 1 breaking
- **2025-08-26** `72f306103a82`: 1 warning, 1 info
- **2025-07-31** `397ca5001173`: 1 info

## Changes

- **2026-10-18** `fd542bb248a2`: 1 info
  - added the non-success response with the status `423`
- **2026-07-23** `e9bef570d106`: 6 info
  - added the media type `application/json` for the response with the status `401`
  - added the optional property `details` to the response with the `500` status
  - the response property `count` became required for the status `200`
  - the response property `items` became required for the status `200`
  - the response property `message` became required for the status `500`
  - added the required property `status` to the response with the `500` status
- **2026-03-06** `11df16b26c1d`: 1 breaking, 1 warning
  - the `items/items/` response's property type changed from `object` to `boolean` for status `200`
  - deleted the `query` request parameter `groupId`
- **2025-11-15** `72b542d3fe49`: 1 breaking
  - the `items/items/` response's property type changed from `string` to `object` for status `200`
- **2025-08-26** `72f306103a82`: 1 warning, 1 info
  - deleted the `query` request parameter `group`
  - added the new optional `query` request parameter `groupId`
- **2025-07-31** `397ca5001173`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/criblio/apis/cribl-api-reference/docs/version/undo/post.md) - [API](https://skmtc.dev/criblio/apis/cribl-api-reference.md) - [Page](https://skmtc.dev/criblio/apis/cribl-api-reference/changes/version/undo/post)
