---
title: "Rename Custom Tag Option Endpoint"
method: POST
path: "/renameCustomTagOption"
---

# Rename Custom Tag Option Endpoint

`POST /renameCustomTagOption`

## Request

- Base URL: `https://api.pavoot.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pavoot.com/renameCustomTagOption`
- Auth: none declared

Renames one option of a custom tag category, everywhere its name is stored.

Body: { projectId, categoryName, oldValue, newValue }

Separate from /updateProjectCustomTagCategories on purpose: that endpoint replaces the
project's categories wholesale, so a renamed option arrives as a deletion plus an
insertion and there is no way to tell it apart from someone genuinely swapping one tag
for another. A rename has to be stated to be carried out — see
project_operations.rename_custom_tag_option for what it touches.

## Response `200`

Successful Response

- unknown

---

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