Werk #16658: REST API: add mode parameter to host tag group delete endpoint
| Component | REST API | ||
| Title | REST API: add mode parameter to host tag group delete endpoint | ||
| Date | Apr 9, 2024 | ||
| Level | Trivial Change | ||
| Class | New Feature | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions | 
 | 
This werk adds the mode query parameter to the delete endpoint for host tag
groups. It is an alternative to the existing repair parameter, with the
following options:
- mode=abortdefault behaviour, cancel deletion if tag group is in use
- mode=deletesame as- repair=True, will delete affected rules
- mode=removewill remove the tag group condition from rules instead of deleting the entire rule