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

# Revoke Photographer Project Access Endpoint

`POST /revokePhotographerProjectAccess`

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/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/3966713f5d52/schema)
