2 Authentication is required and the user must be an admin.
4 ## `/api/pleroma/admin/user`
9 * Response: User’s nickname
16 * Response: User’s nickname
18 ## `/api/pleroma/admin/users/tag`
19 ### Tag a list of users
24 ### Untag a list of users
30 ## `/api/pleroma/admin/permission_group/:nickname`
31 ### Get user user permission groups membership
42 ## `/api/pleroma/admin/permission_group/:nickname/:permission_group`
43 Note: Available `:permission_group` is currently moderator and admin. 404 is returned when the permission group doesn’t exist.
45 ### Get user user permission groups membership
55 ### Add user in permission group
59 * On failure: ``{"error": "…"}``
60 * On success: JSON of the ``user.info``
61 ### Remove user from permission group
65 * On failure: ``{"error": "…"}``
66 * On success: JSON of the ``user.info``
67 * Note: An admin cannot revoke their own admin status.
69 ## `/api/pleroma/admin/activation_status/:nickname`
71 ### Active or deactivate a user
75 * `status` BOOLEAN field, false value means deactivation.
77 ## `/api/pleroma/admin/relay`
83 * On success: URL of the followed relay
89 * On success: URL of the unfollowed relay
91 ## `/api/pleroma/admin/invite_token`
92 ### Get a account registeration invite token
95 * Response: invite token (base64 string)
97 ## `/api/pleroma/admin/email_invite`
98 ### Sends registration invite via email
104 ## `/api/pleroma/admin/password_reset`
105 ### Get a password reset token for a given nickname
108 * Response: password reset token (base64 string)