Delete user account by OpenID with tenant validation

Permanently deletes a user account and all associated data across the Sidedrawer platform.
This operation is irreversible and will remove all user data including documents, records, 
comments, reminders, and other associated resources.

Tenant Validation:

  • Account must belong to the specified tenant
  • Validation follows ENFORCE_TENANT_ACCOUNT_OWNERSHIP environment variable

Deletion Process: 1. Validates tenant ownership of the account 2. Performs soft or hard deletion based on configuration 3. Removes or anonymizes data across all dependent services 4. Maintains audit trail for compliance

Affected Services:

  • user-api: Account deletion and authentication cleanup
  • records-api: Document ownership transfer or deletion
  • record-files-api: File ownership cleanup
  • networks-api: Sharing and collaboration cleanup
  • comments-api: Comment ownership anonymization or deletion
  • reminders-api: User reminder cleanup

Note: This operation cannot be undone. Ensure proper authorization before execution. .

Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!