Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding REST API example how to delete all hosts. #14952

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

getvictor
Copy link
Member

No description provided.

getvictor added a commit that referenced this pull request Nov 6, 2023
Frontend needs to be able to delete all hosts. However, the API
requirement is that host ids or filters must be specified when deleting
hosts. The solution is to allow an empty filter to delete all hosts,
like: `"filters":{}`

REST API updated documentation here:
#14952

[x] Tests updated and added.
[x] Manual testing done.
@getvictor getvictor removed the request for review from mikermcneil November 6, 2023 18:29
@getvictor getvictor merged commit aa96caa into main Nov 6, 2023
3 of 4 checks passed
@getvictor getvictor deleted the victor-delete-all-hosts-api-example branch November 6, 2023 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants