projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo fix
[akkoma]
/
docs
/
API
/
admin_api.md
diff --git
a/docs/API/admin_api.md
b/docs/API/admin_api.md
index edcf73e14554970736cfed98e320998fe1e4821a..b3cf89818cfaa056954b8d8627372ac75c14c101 100644
(file)
--- 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
- `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
## `GET /api/pleroma/admin/users/:nickname/password_reset`
### Get a password reset token for a given nickname