diff options
author | Roman Chvanikov <chvanikoff@pm.me> | 2020-05-30 17:12:23 +0300 |
---|---|---|
committer | Roman Chvanikov <chvanikoff@pm.me> | 2020-05-30 17:12:23 +0300 |
commit | 32f0bd9a50e298b008b601683286e2b75edad93b (patch) | |
tree | 52147eb250548391f5007511f79ecf1975857400 /docs/API/admin_api.md | |
parent | fddba6739de7e5f07f14338ccf5310a143a498cd (diff) | |
parent | beeeed5b58193069798c5b754863244e97e68756 (diff) | |
download | pleroma-32f0bd9a50e298b008b601683286e2b75edad93b.tar.gz |
Merge branch 'develop' into refactor/fe-bundles
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` |