---
title: "Unlink an identity from the current user"
method: DELETE
path: "/auth/user/identities/{identityId}"
tags: ["Authentication"]
---

# Unlink an identity from the current user

`DELETE /auth/user/identities/{identityId}`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/auth/user/identities/{identityId}`
- Auth: HTTP bearer

Removes a non-primary identity and its attached sign-in methods. Refused
when the identity is the account's primary, its only identity, or when
removing it would leave the account with no way to sign in.

## Path parameters

- `identityId` string, uuid, required

## Response `204`

Identity unlinked

## Other responses

- `400`: Identity cannot be unlinked (primary, last, or would remove last sign-in method), or the identity id is malformed
- `401`: Not authenticated
- `404`: Identity not found

## Changes

- **2026-09-19** `3a6f365f3f35`: 3 breaking, 6 info
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `404`
  - added the optional property `code` to the response with the `400` status
  - …5 more
- **2026-08-27** `bb44e98aba2e`: 6 breaking, 3 warning
  - the response's body type changed from `object` to no type for status `400`
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `404`
  - removed the required property `error` from the response with the `400` status
  - …5 more
- **2026-07-27** `bb52784e098a`: 3 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `404` status

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/auth/user/identities/:identityId/delete.md)

---

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