mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
Feature Request: API Endpoint for Enabling/Disabling User Accounts #777
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rustysbro2 on GitHub (Aug 5, 2025).
Is this a feature for the backend or frontend?
Backend
What would you like?
I'd like an API endpoint to enable or disable user accounts.
Example:
This would add an
is_disabledboolean field to users, preventing disabled users from logging in.Why is this needed?
It allows easy integration with external account management workflows (such as compliance or automation tools), without needing direct database edits or manual UI actions.
Other information
No response
@meltyshev commented on GitHub (Aug 6, 2025):
Hey! This is already possible in v2. To disable a user (we call it "deactivate"), you can make an API call from an account with an Admin role:
Once deactivated, the user will be automatically logged out and won't be able to log in again until
isDeactivatedis set back tofalse.