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/relay`
75 * On success: URL of the followed relay
81 * On success: URL of the unfollowed relay
83 ## `/api/pleroma/admin/invite_token`
84 ### Get a account registeration invite token
87 * Response: invite token (base64 string)
89 ## `/api/pleroma/admin/email_invite`
90 ### Sends registration invite via email
96 ## `/api/pleroma/admin/password_reset`
97 ### Get a password reset token for a given nickname
100 * Response: password reset token (base64 string)