diff --git a/hscontrol/api/v2/devices.go b/hscontrol/api/v2/devices.go index acbe6c543..d1918a5e7 100644 --- a/hscontrol/api/v2/devices.go +++ b/hscontrol/api/v2/devices.go @@ -523,6 +523,7 @@ func registerDevices(api huma.API, b Backend) { Tags: []string{"Devices"}, Security: security, DefaultStatus: http.StatusOK, + MaxBodyBytes: maxBodyBytes, Errors: []int{ http.StatusUnauthorized, http.StatusForbidden, http.StatusNotFound, http.StatusConflict, http.StatusBadGateway, http.StatusGatewayTimeout,