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
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

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=abort default behaviour, cancel deletion if tag group is in use
  • mode=delete same as repair=True, will delete affected rules
  • mode=remove will remove the tag group condition from rules instead of deleting the entire rule

To the list of all Werks