diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/Admin-API.md | 20 | 
1 files changed, 20 insertions, 0 deletions
| diff --git a/docs/Admin-API.md b/docs/Admin-API.md index 508981d38..ed19bc875 100644 --- a/docs/Admin-API.md +++ b/docs/Admin-API.md @@ -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 | 
