diff options
author | lain <lain@soykaf.club> | 2020-04-09 13:25:27 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-04-09 13:25:27 +0200 |
commit | d35e114acddf339ed398aeab02bf94abe229ac36 (patch) | |
tree | e35bbf60afa823fd1fdf2b0366249a31f040cd29 /docs/API/admin_api.md | |
parent | 8e637ae1a7b75fa08679ae9cf424650fc105de85 (diff) | |
parent | b87b798ca1660224a3192c32b035c19b18e11587 (diff) | |
download | pleroma-d35e114acddf339ed398aeab02bf94abe229ac36.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'docs/API/admin_api.md')
-rw-r--r-- | docs/API/admin_api.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index 58d702347..57fb6bc6a 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -392,6 +392,19 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret - `email` - `name`, optional +- Response: + - On success: `204`, empty response + - On failure: + - 400 Bad Request, JSON: + + ```json + [ + { + "error": "Appropriate error message here" + } + ] + ``` + ## `GET /api/pleroma/admin/users/:nickname/password_reset` ### Get a password reset token for a given nickname |