Delete contact
delete_contactPermanently erase a contact and all their recorded addresses from MailFathom's address book. No mail or server data is affected; repeating for unknown contacts is safe.
Instructions
Erases one person from MailFathom's own contact book and removes every address recorded with them. This cannot be undone: the record is deleted rather than marked, and nothing here can bring it back. It removes only the contact record — no mail is deleted and no mail server is contacted. Erasing somebody the book does not hold is reported as a completed erasure rather than as an error, so repeating the call is safe. Confirm with the person you are acting for before calling it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes | The contactId of the person to erase, as a listing or an earlier write returned it. Read them with get_contact first if you need to be sure who this is: the answer afterwards carries no name, address, or note. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wasHeld | Yes | Whether the book held that contact when the erasure ran. False means it already held nobody, which is the state the caller asked for and not a failure. | |
| contactId | Yes | The identifier the erasure was asked for, echoed back so a caller can match the answer to the request. | |
| addressesErased | Yes | How many of the person's addresses were removed with them. Zero when the book held nobody of that identifier. |