Web.OAuth.OAuthControllerTest: Add test against token formatting
[akkoma] / docs / Admin-API.md
index 3b19d1aa6fd34566d194d854ee6804c31ace5cf6..016444d5874048696b2fbd2e619fd3ad79143cfc 100644 (file)
@@ -66,6 +66,14 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
     * On success: JSON of the ``user.info``
 * Note: An admin cannot revoke their own admin status.
 
+## `/api/pleroma/admin/activation_status/:nickname`
+
+### Active or deactivate a user
+* Method: `PUT`
+* Params:
+    * `nickname`
+    * `status` BOOLEAN field, false value means deactivation.
+
 ## `/api/pleroma/admin/relay`
 ### Follow a Relay
 * Methods: `POST`