> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daya.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete recipient

> Soft-delete a recipient

## Overview

Soft-delete a recipient. The recipient will no longer appear in list results and cannot be used for new transfers or settlement destinations. This action is irreversible.

## Authentication

**X-Api-Key** `string` *required*

Your merchant API key

## Path Parameters

**id** `string` *required*

Recipient ID (UUID)

**Example:** `750e8400-e29b-41d4-a716-446655440000`

## Request Example

```bash cURL theme={"dark"}
curl --request DELETE \
  --url https://api.daya.co/v1/recipients/750e8400-e29b-41d4-a716-446655440000 \
  --header 'X-Api-Key: YOUR_API_KEY'
```

```javascript JavaScript theme={"dark"}
const response = await fetch(
  "https://api.daya.co/v1/recipients/750e8400-e29b-41d4-a716-446655440000",
  {
    method: "DELETE",
    headers: {
      "X-Api-Key": "YOUR_API_KEY",
    },
  }
);

// 204 No Content on success
if (response.status === 204) {
  console.log("Recipient deleted successfully");
}
```

## Response

A successful deletion returns a `204 No Content` response with an empty body.

### Success Response

```text 204 No Content theme={"dark"}
(empty response body)
```

## Error Responses

```json 400 Bad Request - Invalid UUID theme={"dark"}
{
  "error": {
    "code": "validation_failed",
    "message": "Invalid UUID format"
  }
}
```

```json 404 Not Found theme={"dark"}
{
  "error": {
    "code": "not_found",
    "message": "Recipient not found"
  }
}
```

```json 401 Unauthorized theme={"dark"}
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key"
  }
}
```

## Notes

* This is a soft-delete operation. The recipient record is retained internally but is no longer accessible via the API.
* Any in-progress movements referencing this recipient will not be affected.
* Deleting a recipient that has already been deleted will return a `404 Not Found` error.

## Next Steps

> [card] [Create recipient](https://docs.daya.co/api-reference/recipients/create-recipient.md)
>
> Create a new recipient

> [card] [List recipients](https://docs.daya.co/api-reference/recipients/list-recipients.md)
>
> Retrieve all saved recipients


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.