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

Component REST API
Title user: return 400 status code when trying to create or edit an user specifying a non existing customer
Date Jul 14, 2023
Checkmk Version 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Affected 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

To the list of all Werks