Users

Admin Delete User

Changed on

Permanently (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.

delete/users/{user_id_or_username}

Request

  • Base URL
    https://api.chutes.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.chutes.ai/users/{user_id_or_username}
  • Auth
    API key in header Authorization

Path parameters

user_id_or_usernamestring required

Headers

X-Chutes-Hotkeystring nullable
X-Chutes-Signaturestring nullable
X-Chutes-Noncestring nullable
Authorizationstring nullable

Request body

reasonstring nullable

Response

Successful Response

string required

Changes

    • breaking

      the response's body type changed from no type to string for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      endpoint added