---
title: "Revoke Photographer Project Access Endpoint"
method: POST
path: "/revokePhotographerProjectAccess"
---

# Revoke Photographer Project Access Endpoint

`POST /revokePhotographerProjectAccess`

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

Takes away a photographer's access to ONE project, keeping their row and image credit.

Expects:
    - JSON with 'photographerId' and 'projectId'

Counterpart to /invitePhotographer, which is the only thing that grants a project.
/deletePhotographer is NOT the counterpart: it drops the association row, which also
drops the photographer out of that project's list. Idempotent — revoking access nobody
has is a success with changed=false.

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