Added admin API for changing user activation status
This commit is contained in:
parent
1dd718e83c
commit
25b9e7a8c3
4 changed files with 65 additions and 0 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue