---
title: "Revert Entry"
method: POST
path: "/v1/projects/{project_id}/glossary/{entry_id}/revert"
tags: ["glossary"]
---

# Revert Entry

`POST /v1/projects/{project_id}/glossary/{entry_id}/revert`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/glossary/{entry_id}/revert`
- Auth: none declared

Restore a term to an earlier version (Developer+), INDEPENDENTLY of other
terms — via the normal write path (a new history row, never destructive).
Re-creates the term if it was deleted. Unknown version -> 404; a clash with a
different live term on (type, term) -> 409.

## Path parameters

- `entry_id` string, required
- `project_id` string, required

## Request body

- GlossaryRevertIn
  - `version` integer, required: the term version to restore

## Response `200`

Successful Response

- GlossaryEntryOut
  - `uuid` string, required
  - `project_uuid` string, required
  - `type` 'term' | 'dnt' | 'forbidden', required
  - `term` string, required
  - `translations` object, required
  - `case_sensitive` boolean, required
  - `note` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
