Docs
Live demo
DELETE/api/v2/identities/{id}

Delete an identity by ID. Group policies must be removed through Policy Cleanup before deleting a group. This endpoint never deletes group policies implicitly. Active target sessions are terminated on a best-effort basis before access and credentials are revoked.

Parameters

Path and query1 required of 2
idstringpathrequired

Identity ID (UUID)

cascadebooleanquery

Retained for backward compatibility. The value has no effect

Responses

204

No Content

403

The caller's roles do not grant the permission of the operation

409

Identity deletion is blocked by memberships, connector ownership, members, group policies, or a policy whose access revoke needs manual target repair. Also (details.error_code organization_administrator_required) the change would leave the organization without a person who holds every permission and can sign in.

Common errors: 400 401 404 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close