From 9c461ee61aede982f971d1ea626e367cd87a342b Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky Date: Sun, 5 Nov 2023 08:49:24 -0600 Subject: [PATCH] Adding REST API example how to delete all hosts. --- docs/REST API/rest-api.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index 191ab3c8304f..be25af5cc184 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -2939,6 +2939,13 @@ Request (`filters` is specified): } ``` +Request (`filters` is specified and empty, to delete all hosts): +```json +{ + "filters": {} +} +``` + #### Example `POST /api/v1/fleet/hosts/delete`