---
title: "Edit Recipient Endpoint"
method: POST
path: "/editRecipient"
---

# Edit Recipient Endpoint

`POST /editRecipient`

Updates a recipient's information in the database.

Expects:
    - JSON with:
        - 'recipientId': unique identifier of the recipient (required)
        - 'name': new name for the recipient (optional)
        - 'primaryEmail': new primary email for the recipient (optional)
        - 'description': new description for the recipient (optional)
        - 'additionalEmails': list of additional emails (optional)
        - 'projectId'

Returns:
    - Success message if recipient was found and updated
    - Error if recipient 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)
