X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=docs%2Fdevelopment%2FAPI%2Fadmin_api.md;h=82483fae71deaf9f82c8ff6afb3ef2f913183083;hb=40414bf177c93b39d75c6091ef0ce1db093edb6f;hp=8f855d251a5ac2b9c2cb945c0534b8699d3f4605;hpb=c140cc7bf30fe35fe5c250fb01ada56f287bbaf1;p=akkoma 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