---
title: "Changes to Revert a commit in the local repository"
method: POST
path: "/version/revert"
---

# Changes to Revert a commit in the local repository

`POST /version/revert`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 7 of 89 revisions.

- **2026-10-18** `fd542bb248a2`: 1 info
- **2026-07-23** `e9bef570d106`: 6 info
- **2026-03-06** `11df16b26c1d`: 1 breaking, 1 warning, 2 info
- **2025-08-26** `72f306103a82`: 1 warning, 1 info
- **2025-08-21** `a7f8ffd2d935`: 1 info
- **2025-08-21** `96f9ea03b3ab`: 2 breaking
- **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, 2 info
  - the `items/items/audit/files/renamed/items/` response's property type changed from `string` to `object` for status `200`
  - deleted the `query` request parameter `groupId`
  - added the required property `items/items/audit/files/renamed/items/from` to the response with the `200` status
  - added the required property `items/items/audit/files/renamed/items/to` to the response with the `200` status
- **2025-08-26** `72f306103a82`: 1 warning, 1 info
  - deleted the `query` request parameter `group`
  - added the new optional `query` request parameter `groupId`
- **2025-08-21** `a7f8ffd2d935`: 1 info
  - the request property `message` became optional
- **2025-08-21** `96f9ea03b3ab`: 2 breaking
  - the response property `items/items/audit/files` became optional for the status `200`
  - the response property `items/items/audit/group` became optional for the status `200`
- **2025-07-31** `397ca5001173`: 1 info
  - endpoint added

---

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