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

# Edit Person Endpoint

`POST /editPerson`

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

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pavoot/apis/fastapi.md) · [All operations](https://skmtc.dev/pavoot/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pavoot/fastapi/revisions/16997cca6697/schema)
