Feature
- What is the current behavior?
The current behavior is that there is no possibility to look for templates filtering by the ones that doesn't have associated devices.
- What is the expected behavior?
With the addition of some parameter, for example, ?has_devices=false, return only templates that do not have associated devices.
- What is the motivation / use case for changing the behavior?
If there are lots of templates created and we want to do a cleanup removing all the unused templates, today we would have to try to remove each of the templates and handle the error messages returned by the ones with devices.
I'm submitting a ...
Do you want to request a feature or report a bug?
Feature
The current behavior is that there is no possibility to look for templates filtering by the ones that doesn't have associated devices.
With the addition of some parameter, for example, ?has_devices=false, return only templates that do not have associated devices.
If there are lots of templates created and we want to do a cleanup removing all the unused templates, today we would have to try to remove each of the templates and handle the error messages returned by the ones with devices.