MastoAPI: Add user notes on accounts
[akkoma] / docs / development / API / admin_api.md
index 8f855d251a5ac2b9c2cb945c0534b8699d3f4605..82483fae71deaf9f82c8ff6afb3ef2f913183083 100644 (file)
@@ -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