---
title: "Delete identity links"
method: POST
path: "/api/v1/delete/identity-link"
tags: ["Identity Provider"]
---

# Delete identity links

`POST /api/v1/delete/identity-link`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/delete/identity-link`
- Auth: API key in header `X-API-Key`

Removes the link between mailboxes and their Identity Provider users (admins only). The mailbox is linked again by email on the next sync run or login, e.g. after its address was given to another Identity Provider user.

## Request body

- string[]

## Response `200`

OK

## Other responses

- `401`: Unauthorized

## Changes

- **2026-10-27** `c818e639f1cb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mailcow/apis/mailcow-api/changes/api/v1/delete/identity-link/post.md)

---

[API](https://skmtc.dev/mailcow/apis/mailcow-api.md) - [All operations](https://skmtc.dev/mailcow/apis/mailcow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailcow/apis/mailcow-api/revisions/bc8a5589ddad?raw)
