diff --git a/operate/cli.py b/operate/cli.py index b2b9b497..48c50648 100644 --- a/operate/cli.py +++ b/operate/cli.py @@ -788,31 +788,6 @@ async def _update_service(request: Request) -> JSONResponse: return JSONResponse(content=output.json) - @with_retries - async def _partial_update_service(request: Request) -> JSONResponse: - """Partially update a service (merge update).""" - if operate.password is None: - return USER_NOT_LOGGED_IN_ERROR - - service_config_id = request.path_params["service_config_id"] - manager = operate.service_manager() - - if not manager.exists(service_config_id=service_config_id): - return service_not_found_error(service_config_id=service_config_id) - - template = await request.json() - allow_different_service_public_id = template.get( - "allow_different_service_public_id", False - ) - output = manager.update( - service_config_id=service_config_id, - service_template=template, - allow_different_service_public_id=allow_different_service_public_id, - partial_update=True, - ) - - return JSONResponse(content=output.json) - @app.put("/api/v2/services") @with_retries async def _update_all_services(request: Request) -> JSONResponse: