diff --git a/routes/infrastructure-component/ic_endpoints.go b/routes/infrastructure-component/ic_endpoints.go index 89e94c0..7f13ff7 100644 --- a/routes/infrastructure-component/ic_endpoints.go +++ b/routes/infrastructure-component/ic_endpoints.go @@ -150,7 +150,7 @@ func updateIC(c *gin.Context) { } if oldIC.ManagedExternally { - helper.ForbiddenError(c, "Cannot update externally managed component via API") + helper.BadRequestError(c, "Cannot update externally managed component via API") return }