admin

Suspend User

Suspend a user account (admin only).

Sets api_key_status='suspended', which the auth layer rejects (auth.py:175). Also clears the active session and invalidates the auth cache so the suspension takes effect immediately rather than after the 5-min cache TTL.

post/admin/users/{user_id}/suspend

Request

  • Base URL: https://api.fincept.in (the document declares no server; this is the origin it was published from)
  • URL: https://api.fincept.in/admin/users/{user_id}/suspend
  • Auth: API key in header X-API-Key

Path parameters

user_idinteger required

Request body

reasonstring nullable

Response

Successful Response

unknown required

Changes

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