diff options
author | lain <lain@soykaf.club> | 2020-05-29 12:36:17 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-29 12:36:17 +0200 |
commit | af6d01ec93a07cd896bc4f0a2c2cf437c6fd51fc (patch) | |
tree | 54e02858d0fa9ca905ffe5a057c9f0accbeae115 /docs/API/admin_api.md | |
parent | dbd07d29a358a446d87078d60b993a59b757ad1d (diff) | |
parent | 396bc69aeef951f163c0c20474ce4653df1dd667 (diff) | |
download | pleroma-af6d01ec93a07cd896bc4f0a2c2cf437c6fd51fc.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 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index c455047cc..639c3224d 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -511,7 +511,23 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret - `discoverable` - `actor_type` -- Response: none (code `200`) +- Response: + +```json +{"status": "success"} +``` + +```json +{"errors": + {"actor_type": "is invalid"}, + {"email": "has invalid format"}, + ... + } +``` + +```json +{"error": "Unable to update user."} +``` ## `GET /api/pleroma/admin/reports` |