Werk #15980: user: return 400 status code when trying to create or edit an user specifying a non existing customer

Komponente REST API
Titel user: return 400 status code when trying to create or edit an user specifying a non existing customer
Datum 14.07.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Prior to this werk, the user setup endpoint returned a 500 status code whenever the user tried to create or update an user specifiying a non-existing customer. This werk fixes this and returns a 400 status code instead

Zur Liste aller Werks