diff options
author | eugenijm <eugenijm@protonmail.com> | 2019-02-19 18:40:57 +0300 |
---|---|---|
committer | eugenijm <eugenijm@protonmail.com> | 2019-02-19 19:37:02 +0300 |
commit | 25b9e7a8c39602e6463a867089948a7957cfab9f (patch) | |
tree | b1f9ef74a0b2fcec874a733d7938ac41d543086a /docs/Admin-API.md | |
parent | 1dd718e83c76db218f12a98344b568fe10ecbefe (diff) | |
download | pleroma-25b9e7a8c39602e6463a867089948a7957cfab9f.tar.gz |
Added admin API for changing user activation status
Diffstat (limited to 'docs/Admin-API.md')
-rw-r--r-- | docs/Admin-API.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/Admin-API.md b/docs/Admin-API.md index 3b19d1aa6..016444d58 100644 --- a/docs/Admin-API.md +++ b/docs/Admin-API.md @@ -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` |