admin
Delete User
Delete a user and all their data (admin only).
Admin protections:
- Cannot delete the last admin
All related data (journals, entries, media, tags, mood logs, prompts, settings, and writing streaks) are automatically deleted via CASCADE.
delete/api/v1/admin/users/{user_id}
Request
- The document declares no server URL.
- Auth: OAuth 2 (password, token URL /api/v1/auth/token)
Path parameters
user_idstring uuid required
Cookies
access_tokenstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 9 revisions of this API.