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

# Delete Contact

> Soft-delete a contact from your organization

# Delete Contact

Soft-deletes a contact by setting its status to `deleted`. The contact will no longer appear in list queries or be retrievable by ID.

This operation is **not reversible** through the API. Contact Gomry support if you need to restore a deleted contact.

## Path Parameters

<ParamField path="contactId" type="string" required>
  The unique identifier of the contact to delete.
</ParamField>

## Response

Returns `204 No Content` on success with an empty body.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE \
    -H "X-API-KEY: your_api_key" \
    "https://www.gomry.com/api/v1/contacts/AbCdEfGhIjKlMnOpQrSt"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    "https://www.gomry.com/api/v1/contacts/AbCdEfGhIjKlMnOpQrSt",
    {
      method: "DELETE",
      headers: { "X-API-KEY": "your_api_key" },
    }
  );
  // response.status === 204
  ```
</RequestExample>

<ResponseExample>
  ```json 204 theme={null}
  // No response body
  ```

  ```json 404 theme={null}
  {
    "error": "Contact not found"
  }
  ```
</ResponseExample>
