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

# Delete Not-a-Match Declaration

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

Delete a not-a-match declaration means that the primary person could be a match with the given person.
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
- `nmid` string, required

## Headers

- `X-Reason` string

## Response `204`

The delete was successful.

## Other responses

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

---

[API](https://skmtc.net/familysearch/apis/authentication-endpoints.md) · [All operations](https://skmtc.net/familysearch/apis/authentication-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/familysearch/authentication-endpoints/revisions/2b5020574a62/schema)
