# Replace a recipient

```http
POST https://api.signapi.lumin.example/v1/recipients/{recipientId}/replace
```

Hands a recipient's turn to someone else, keeping the same key and places.

The new person gets a new recipient ID. The old recipient moves to `replaced` and keeps its
history.

## Path parameters

| Name | Type | Required | Notes |
|---|---|---|---|
| `recipientId` | string | Yes |  |

## Request body

Content type `application/json`, required.

| Property | Type | Required | Notes |
|---|---|---|---|
| `email` | string (email) | Yes | At most 320 characters. |
| `name` | string | Yes | 1 to 500 characters. |


## Responses

### 201

Body: [`Recipient.Recipient`](https://docs.signapi.dev/schemas/Recipient.Recipient).

### 422

The request failed validation. The [problem body](https://docs.signapi.dev/errors) lists each problem in `errors`.

### 4xx

A client error, as an `application/problem+json` body. Its `type` links to the [error page](https://docs.signapi.dev/errors) for the code.

### 5xx

A server error, as an `application/problem+json` body. Retry with backoff.
