---
title: "Delete a contact"
method: DELETE
path: "/contacts/{contactId}"
tags: ["Contacts"]
---

# Delete a contact

`DELETE /contacts/{contactId}`

## Path parameters

- `contactId` string, uuid, required

## Response `200`

Contact deleted successfully

- object
  - `id` string, uuid, required — Id of the deleted contact

## Other responses

- `401` — Unauthorized
- `404` — Contact not found

## Changes

- **2026-07-28** `8ccfb9a461e2` — 2 breaking, 3 info
  - added the pattern `^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$` to the `path` request parameter `contactId`
  - removed the media type `application/json` for the response with the status `404`
  - added the non-success response with the status `401`
  - the response property `id` became required for the status `200`
  - …1 more

[Change history](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/changes/contacts/:contactId/delete.md)

---

[API](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api.md) · [All operations](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/revisions/30bd33ee45c9?raw)
