Users
Deactivate User
Deactivate (ban) a user account
POST
Deactivate a user account, preventing them from logging in. Deactivated users are not counted towards your license.
Request Headers
API Key. Go to your Konstantly site > Settings > API and copy the value from there.
Request Body
User API ID to deactivate
Response
Returns the user object withisBanned: true.
User ID
Full name
Interface language
Email address
Will be
true after deactivationUser role
API management status
Error Responses
Returned when user is not found
Returned when user cannot be banned (e.g., assigned as expert on courses)