X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fdevelopment%2FAPI%2Fadmin_api.md;h=f140818934a05fe41761a9f65ce92d4765357e18;hb=bd853199d93e03fedf43397455939c6d633fa36b;hp=79531c45b6e40c252228594be55dd2ffbc36f8b2;hpb=6c0484d571e4ed4e39fa3f88e6e1d2d7b8de96fa;p=akkoma diff --git a/docs/development/API/admin_api.md b/docs/development/API/admin_api.md index 79531c45b..f14081893 100644 --- a/docs/development/API/admin_api.md +++ b/docs/development/API/admin_api.md @@ -359,6 +359,22 @@ Removes the user(s) from follower recommendations. } ``` +## `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