Turn an account off
POST/users/admin/:userId/disable
Signs the user out everywhere, stops their API keys and blocks every login until the account is turned back on. Needs admin.users.manage; only admins can turn off an admin.
Request
Responses
- 200
- 400
- 403
- 404
- 500
Account turned off.
You can't turn off your own account or the last admin.
Not authorized.
User not found.
Failed to turn off the account.