---
title: "Delete Not-a-Match Declarations"
method: DELETE
path: "/tree/persons/{pid}/not-a-match"
tags: ["Matches"]
---

# Delete Not-a-Match Declarations

`DELETE /tree/persons/{pid}/not-a-match`

## Request

- Base URL: `https://apibeta.familysearch.org/platform`
- URL: `https://apibeta.familysearch.org/platform/tree/persons/{pid}/not-a-match`
- Auth: HTTP bearer

Delete a not-a-match declaration means that the primary person could be a match with the given list of persons.
A reason string can be provided indicating why the user believes the two persons may no longer be considered as distinct individuals.
The reason is sent as an 'X-Reason' header on the request. This reason should have a maximum length of 2000 characters,
and if the reason supplied is too long, the request may fail as a bad request.

## Path parameters

- `pid` string, required

## Query parameters

- `id` string, required

## Headers

- `X-Reason` string

## Response `204`

The delete was successful.

## Other responses

- `404`: If the requested person is not found.
- `410`: If the requested person has been merged or deleted.
- `429`: The request was throttled.

---

[API](https://skmtc.dev/familysearch/apis/family-tree-endpoints.md) - [All operations](https://skmtc.dev/familysearch/apis/family-tree-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/familysearch/apis/family-tree-endpoints/revisions/e248abd029e6?raw)
