Operator

Disable a user: their sessions are revoked and they immediately lose all access

post/operator/users/{userId}/disable

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/operator/users/{userId}/disable
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

userIdstring uuid required

Request body

reasonstring required

required: shown in the audit log verbatim

Response

Disabled

status'ok' required
replayboolean

true when the target was already in the requested state

Changes

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