diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-12-07 13:41:54 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-12-07 13:41:54 -0500 |
commit | 2c96668a2c20906e5159fdea9326dbba4ca6ca62 (patch) | |
tree | e7fc1def45d51ba8011c1cfacb28c2523279e09b /docs/development | |
parent | 335684182a094c10fb9f72e3865fd1b9606484a4 (diff) | |
parent | b57041c59a14df78b4a461e68911a9edc788bc0a (diff) | |
download | pleroma-2c96668a2c20906e5159fdea9326dbba4ca6ca62.tar.gz |
Merge remote-tracking branch 'origin/develop' into fix-attachment-dimensions
Diffstat (limited to 'docs/development')
-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 |