Admin API for Deactivating and Reactivating Local Users #27
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Telodendria/Telodendria#27
Loading…
Reference in a new issue
No description provided.
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?
The administrator API should provide functions for managing local user accounts. This issue documents the endpoints and how they should be implemented.
DELETE /_telodendria/admin/deactivate/[localpart]
Deactivates a local user, optionally with a reason.
Request JSON Format:
Request Example:
200 Response JSON Format:
403 Response JSON Format:
200 Response Example:
403 Response Example:
PUT /_telodendria/admin/deactivate/[localpart]
Description: Reactivates a local user.
403 Response JSON Format:
403 Response Example:
And the checklist: