diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-11-24 17:58:58 -0600 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-11-24 17:58:58 -0600 |
commit | 720198d56950ca98f4d947dd630b0e170eda569b (patch) | |
tree | cd20e64e7daaa8ba033ba6510e137de2d2ccb24e /docs/development/API/admin_api.md | |
parent | cb9359335f6b0e1d19fb82e4045740d30767254c (diff) | |
parent | c97f99ccf2a51c7f1078d7a20006deae2df3d12c (diff) | |
download | pleroma-720198d56950ca98f4d947dd630b0e170eda569b.tar.gz |
Merge remote-tracking branch 'pleroma/develop' into manifest
Diffstat (limited to 'docs/development/API/admin_api.md')
-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 |