---
title: "Change Person Category Endpoint"
method: PUT
path: "/changePersonCategory"
---

# Change Person Category Endpoint

`PUT /changePersonCategory`

## 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/changePersonCategory`
- Auth: none declared

Change a person's creation type between 'user_added' and 'auto_detected'.

Args:
    personId: The person's unique ID
    newCategory: The new creation type ('user_added' or 'auto_detected')

Returns:
    JSON response with success status and updated person details

## Request body

- BodyChangePersonCategoryEndpointChangePersonCategoryPut
  - `personId` string, required
  - `newCategory` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[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)
