File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
services/web/server/src/simcore_service_webserver Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4338,7 +4338,7 @@ paths:
43384338 ' 403 ' :
43394339 description : ProjectInvalidRightsError
43404340 ' 404 ' :
4341- description : ProjectNotFoundError, UserDefaultWalletNotFoundError
4341+ description : UserDefaultWalletNotFoundError, ProjectNotFoundError
43424342 ' 409 ' :
43434343 description : ProjectTooManyProjectOpenedError
43444344 ' 422 ' :
@@ -5390,7 +5390,7 @@ paths:
53905390 schema :
53915391 title : Force
53925392 type : boolean
5393- default : true
5393+ default : false
53945394 name : force
53955395 in : query
53965396 responses :
Original file line number Diff line number Diff line change @@ -27,5 +27,5 @@ class Config:
2727
2828class RemoveQueryParams (BaseModel ):
2929 force : bool = Field (
30- default = True , description = "Force removal (even if resource is active)"
30+ default = False , description = "Force removal (even if resource is active)"
3131 )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class HttpErrorInfo(NamedTuple):
3737_TO_HTTP_ERROR_MAP : dict [type [Exception ], HttpErrorInfo ] = {
3838 ProjectRunningConflictError : HttpErrorInfo (
3939 status .HTTP_409_CONFLICT ,
40- "Current study is in use and cannot be trashed [{project_uuid}]" ,
40+ "Current study is in use and cannot be trashed [{project_uuid}]. Please stop all services first and try again " ,
4141 ),
4242 ProjectStopError : HttpErrorInfo (
4343 status .HTTP_503_SERVICE_UNAVAILABLE ,
You can’t perform that action at this time.
0 commit comments