Add docs to /users/search
This commit is contained in:
parent
46f29b9da1
commit
adac745512
@ -20,6 +20,26 @@ Authentication is required and the user must be an admin.
|
||||
]
|
||||
```
|
||||
|
||||
## `/api/pleroma/admin/users/search?query={query}`
|
||||
|
||||
### Search users
|
||||
|
||||
- Method `GET`
|
||||
- Params:
|
||||
- `query`
|
||||
- Response:
|
||||
|
||||
```JSON
|
||||
[
|
||||
{
|
||||
"deactivated": bool,
|
||||
"id": integer,
|
||||
"nickname": string
|
||||
},
|
||||
...
|
||||
]
|
||||
```
|
||||
|
||||
## `/api/pleroma/admin/user`
|
||||
|
||||
### Remove a user
|
||||
|
Loading…
Reference in New Issue
Block a user