---
title: "Delete an identity"
method: DELETE
path: "/v2/directories/{directoryId}/principals/{principalId}/identities/{identityId}"
tags: ["KongPrincipalIdentity"]
---

# Delete an identity

`DELETE /v2/directories/{directoryId}/principals/{principalId}/identities/{identityId}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v2/directories/{directoryId}/principals/{principalId}/identities/{identityId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Permanently deletes an identity association from the principal.
This operation cannot be undone.

## Path parameters

- `directoryId` string, uuid, required
- `principalId` string, uuid, required
- `identityId` string, uuid, required

## Response `204`

Success

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-12-03** `9c8d300657bd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-beta/changes/v2/directories/:directoryId/principals/:principalId/identities/:identityId/delete.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-beta.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-beta/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-beta/revisions/9c8d300657bd?raw)
