Skip to content

Commit

Permalink
Adding REST API example how to delete all hosts. (#14952)
Browse files Browse the repository at this point in the history
  • Loading branch information
getvictor authored Nov 6, 2023
1 parent f38524a commit aa96caa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/REST API/rest-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit aa96caa

Please sign in to comment.