From aa96caa8ebb2dcfd4f31cfc0b6da2716873d809d Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky Date: Mon, 6 Nov 2023 12:29:43 -0600 Subject: [PATCH] Adding REST API example how to delete all hosts. (#14952) --- 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 191ab3c830..be25af5cc1 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`