---
title: "Edit Photographer Endpoint"
method: POST
path: "/editPhotographer"
---

# Edit Photographer Endpoint

`POST /editPhotographer`

Updates a photographer's information in the database.

Expects:
    - JSON with:
        - 'id': unique identifier of the photographer (required)
        - 'name': new name for the photographer (optional)
        - 'description': new description for the photographer (optional)
        - 'projectId'

Returns:
    - Success message if photographer was found and updated
    - Error if photographer not found or other issues occur

## Request body

- object

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