admin

Lock a user account

Changed on

Locks a user account to prevent login

post/users/{email}/lock

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/users/{email}/lock
  • Auth: one of:
    • API key in header Cookie
    • API key in header X-CSRF-Token

Path parameters

emailstring required

User email

Request body

reasonstring required

Response

OK

statusstring required

Changes