---
title: "Delete Photographer Endpoint"
method: POST
path: "/deletePhotographer"
---

# Delete Photographer Endpoint

`POST /deletePhotographer`

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

Removes a photographer's association with a specific project.

Expects:
    - JSON with:
        - 'photographerId': unique identifier of the photographer
        - 'projectId': ID of the project to remove from

Returns:
    - Success message if photographer was found and removed from project
    - 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/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)
