me

Delete current user and all associated data (GDPR Article 17 - Right to Erasure)

Permanently deletes the authenticated user and all associated data including:

  • User record
  • Organization and project memberships
  • API keys owned by the user
  • Conversations owned by the user
  • Dynamic providers owned by the user
  • Usage records for user's API keys

This endpoint allows users to delete their own account without admin permissions. The user is identified from the authenticated session.

Warning: This operation is irreversible.

delete/admin/v1/me

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/me
  • Auth: HTTP bearer

Response

User deleted

api_keys_deletedinteger required

Number of API keys deleted

conversations_deletedinteger required

Number of conversations deleted

deletedboolean required

Whether the user was successfully deleted

dynamic_providers_deletedinteger required

Number of dynamic providers deleted

usage_records_deletedinteger required

Number of usage records deleted

user_idstring uuid required

ID of the deleted user

Changes

No recorded changes to this operation across all 16 revisions of this API.