DELETE /v1/users/{id}
Delete a User
Delete a user by ID or name, with soft/hard delete options
DELETE
DELETE /v1/users/{id}
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Delete a User
Delete a user by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.Delete by ID
UUID of the user to delete.
Recursively delete child entities.
Permanently delete the user. If
false, the user is soft-deleted and can be restored.Delete by Name
UseDELETE /v1/users/name/{fqn} to delete by fully qualified name.
Fully qualified name of the user (e.g.,
aaron_johnson0).Recursively delete child entities.
Permanently delete the user.
Restore a Soft-Deleted User
UsePUT /v1/users/restore to restore a soft-deleted user.
UUID of the soft-deleted user to restore.
DELETE /v1/users/{id}
Returns
Soft delete returns the user object withdeleted: true. Hard delete returns no content (204). Restore returns the restored user object.
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this user |
404 | NOT_FOUND | User with given ID or FQN does not exist |