Admin Delete User
Changed onPermanently (hard) delete a user account. Requires the explicit delete_user permission.
Removes the users row, which the on_user_delete DB trigger archives into deleted_users and which CASCADEs api_keys/jobs/logos/chute_shares/ oauth_*. Deletion requires: no privileged roles (the ordinary free_account billing flag is allowed), a balance within +/-25, no owned Chutes, images, secrets, or external accounts, and no external operations with unresolved settlement. Settled/non-billable operation history is retained and anonymized; financial history (admin_balance_changes, payments) has no FK and is preserved.
Request
- Base URLhttps://api.chutes.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.chutes.ai/users/{user_id_or_username}
- AuthAPI key in header Authorization
Path parameters
Headers
Request body
Response
Successful Response
Changes
- breaking
the response's body type changed from no type to
stringfor status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking
- info
endpoint added
- info