admin

Delete User

Delete user and all associated data (ADMIN only)

This is a destructive operation that will:

  1. Delete user from Supabase Auth
  2. Delete all user data from database (cascades automatically via foreign keys)

The following will be deleted automatically via CASCADE:

  • user profile (users table)
  • portfolios and positions
  • watchlists
  • smart alerts subscriptions
  • personal alerts subscriptions
  • trades
  • chat threads and messages
  • feedback
  • custom content (if owned)
delete/api/admin/users/{user_id}

Request

  • Base URL: https://marketcrew.ai (the document declares no server; this is the origin it was published from)
  • URL: https://marketcrew.ai/api/admin/users/{user_id}
  • Auth: HTTP bearer

Path parameters

user_idstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.