---
title: "Edit Person Endpoint"
method: POST
path: "/editPerson"
---

# Edit Person Endpoint

`POST /editPerson`

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

Endpoint for editing a person's information in the face recognition system.

Args:
    personId: The person's unique ID
    name: The person's name (optional)
    category: Category/type of person (optional)
    position: The person's position/role (optional)
    link: Link associated with the person (optional)
    faceImageId: New face image ID to update the face (optional)

Returns:
    JSON response with success status and updated person details

## Request body `application/x-www-form-urlencoded`

- BodyEditPersonEndpointEditPersonPost
  - `personId` string, required
  - `name` string, nullable
  - `category` string, nullable
  - `position` string, nullable
  - `link` string, nullable
  - `faceImageId` string, nullable

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