Werk #16156: downtimes: site_id only required when deleting downtimes by_id

Component REST API
Title downtimes: site_id only required when deleting downtimes by_id
Date Oct 20, 2023
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

We recently introduced a change with werk 15966 which means that the site_id is now required when deleting downtimes via the REST API. However, only the 'by_id' option leaves the downtime selection ambigious, while the options 'params' or 'query' already have the ability to pinpoint the downtimes requested, therefore, the site_id should not be required in these cases.

This werk addresses this oversight and introduces a change where the site_id is only required when deleteing by_id.

To the list of all Werks