diff options
author | lain <lain@soykaf.club> | 2020-04-09 10:42:43 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-04-09 10:42:43 +0000 |
commit | b87b798ca1660224a3192c32b035c19b18e11587 (patch) | |
tree | da57a1de061f640bea071e820c670d25644ff99a /docs | |
parent | d2e21fbc968fbbeb98e9860e1dce77443f4b4cd4 (diff) | |
parent | f20a19de853e8834f7774ee0098a14213bc7427f (diff) | |
download | pleroma-b87b798ca1660224a3192c32b035c19b18e11587.tar.gz pleroma-b87b798ca1660224a3192c32b035c19b18e11587.zip |
Merge branch 'fix/1658-invite-send' into 'develop'
Error improvement for email_invite endpoint
See merge request pleroma/pleroma!2344
Diffstat (limited to 'docs')
-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 |