reports
reports

Ban User

One-click ban — works for any user including tutors. Sets is_suspended=True, deactivates the account, and stamps the reason. Idempotent.

post/admin/users/{user_id}/ban

Path parameters

user_idstring required

Headers

authorizationstring nullable

Request body

object required

Response

Successful Response

{"stackTrail":"paths:/admin/users/{user_id}/ban:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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