v1

latestOpenAPI 3.1.02026-07-13372867.8 KB
editor

Undo Last Edit

Reverts the last edit made to a file.

post/api/editor/undo-edit

Request body

pathstring required

File path to undo changes

Example request

{
  "path": "/path/to/file.txt"
}

Response

Successfully undid last edit