---
title: "Changes to Commit staged revert"
method: POST
path: "/api/session/{sessionID}/revert/commit"
---

# Changes to Commit staged revert

`POST /api/session/{sessionID}/revert/commit`

> Every recorded change to this operation, newest first.
> 51 revisions in range; 1 not diffed.

## Timeline

Changed in 1 of 51 revisions.

- **2026-10-25** `7565a68e48f6`: 1 breaking, 4 info

## Changes

- **2026-10-25** `7565a68e48f6`: 1 breaking, 4 info
  - the response's body type changed from no type to `object` for status `404`
  - removed `#/components/schemas/SessionNotFoundErrorEncoded, #/components/schemas/LocationNotFoundErrorEncoded` from the response body `anyOf` list for the response status `404`
  - added the required property `_tag` to the response with the `404` status
  - added the required property `message` to the response with the `404` status
  - added the required property `sessionID` to the response with the `404` status

---

[Operation](https://skmtc.dev/kaaass/apis/opencode/docs/api/session/:sessionID/revert/commit/post.md) - [API](https://skmtc.dev/kaaass/apis/opencode.md) - [Page](https://skmtc.dev/kaaass/apis/opencode/changes/api/session/:sessionID/revert/commit/post)
