---
title: "Leave Identity Links"
method: POST
path: "/api/v1/me/account/identity-links/leave"
tags: ["account-erasure", "identity-links"]
---

# Leave Identity Links

`POST /api/v1/me/account/identity-links/leave`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/me/account/identity-links/leave`
- Auth: none declared

Leave the identity-link set: take the session user out of it; the other
accounts stay linked to each other (#1807).

``unlink`` names one account to take out of the caller's set; ``leave``
takes the caller out. Every account of the former set is notified.
404 when the session user is not linked to any account.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- IdentityLinkStatusResponse: Returned by the link and unlink endpoints on success.
  - `status` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
