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

# Mcp Revert Glossary

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

## Request

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

Restore a term to an earlier version (mcp:*), independently of other terms —
via the normal write path (new history row, never destructive). Re-creates the
term if it was deleted. Unknown version -> 404; (type, term) clash -> 409.

## Path parameters

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

## Request body

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

## Response `200`

Successful Response

- McpGlossaryEntryOut
  - `uuid` string, required
  - `rule_type` 'translation' | 'do_not_translate' | '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)
