3 Authentication is required and the user must be an admin.
5 ## `/api/pleroma/admin/users`
23 ## `/api/pleroma/admin/user`
30 - Response: User’s nickname
39 - Response: User’s nickname
41 ## `/api/pleroma/admin/users/:nickname/toggle_activation`
43 ### Toggle user activation
48 - Response: User’s object
58 ## `/api/pleroma/admin/users/tag`
60 ### Tag a list of users
67 ### Untag a list of users
74 ## `/api/pleroma/admin/permission_group/:nickname`
76 ### Get user user permission groups membership
89 ## `/api/pleroma/admin/permission_group/:nickname/:permission_group`
91 Note: Available `:permission_group` is currently moderator and admin. 404 is returned when the permission group doesn’t exist.
93 ### Get user user permission groups membership
101 "is_moderator": bool,
106 ### Add user in permission group
111 - On failure: `{"error": "…"}`
112 - On success: JSON of the `user.info`
114 ### Remove user from permission group
119 - On failure: `{"error": "…"}`
120 - On success: JSON of the `user.info`
121 - Note: An admin cannot revoke their own admin status.
123 ## `/api/pleroma/admin/activation_status/:nickname`
125 ### Active or deactivate a user
130 - `status` BOOLEAN field, false value means deactivation.
132 ## `/api/pleroma/admin/relay`
140 - On success: URL of the followed relay
148 - On success: URL of the unfollowed relay
150 ## `/api/pleroma/admin/invite_token`
152 ### Get a account registeration invite token
156 - Response: invite token (base64 string)
158 ## `/api/pleroma/admin/email_invite`
160 ### Sends registration invite via email
167 ## `/api/pleroma/admin/password_reset`
169 ### Get a password reset token for a given nickname
173 - Response: password reset token (base64 string)