diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-12-03 00:11:38 -0600 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-12-03 00:11:38 -0600 |
commit | 8286ceb46522069607cc0a0dec864022606bf19d (patch) | |
tree | 5270f50d3b6b00d3d2796d2e611a2606ffeb4ff1 /docs/development/API | |
parent | 5da4f33bf136970706ddcf19bd701288acb141cf (diff) | |
parent | 235c4139d701f7d25dac2a152d8ab6e4afb1c20d (diff) | |
download | pleroma-8286ceb46522069607cc0a0dec864022606bf19d.tar.gz pleroma-8286ceb46522069607cc0a0dec864022606bf19d.zip |
Merge remote-tracking branch 'origin/develop' into password-reset
Diffstat (limited to 'docs/development/API')
-rw-r--r-- | docs/development/API/admin_api.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/development/API/admin_api.md b/docs/development/API/admin_api.md index 8f855d251..82483fae7 100644 --- a/docs/development/API/admin_api.md +++ b/docs/development/API/admin_api.md @@ -319,6 +319,22 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret } ``` +## `DELETE /api/v1/pleroma/admin/instances/:instance` + +### Delete all users and activities from a remote instance + +Note: this will trigger a job to remove instance content in the background. +It may take some time. + +- Params: + - `instance`: remote instance host +- Response: + - The `instance` name as a string + +```json +"lain.com" +``` + ## `GET /api/v1/pleroma/admin/statuses` ### Retrives all latest statuses |