[//]: # (werk v2)
# REST API: add mode parameter to host tag group delete endpoint
key | value
---------- | ---
date | 2024-04-09T12:01:49+00:00
version | 2.4.0b1
class | feature
edition | cre
component | rest-api
level | 1
compatible | yes
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