diff --git a/client/src/schema/schema.ts b/client/src/schema/schema.ts index 1f9989c5deee..a508b702b9f0 100644 --- a/client/src/schema/schema.ts +++ b/client/src/schema/schema.ts @@ -10979,7 +10979,7 @@ export interface operations { header?: { "run-as"?: string; }; - /** @description The ID of the History. */ + /** @description History ID or any string. */ /** @description The ID of the item (`HDA`/`HDCA`) contained in the history. */ /** * @description The type of the target history element. diff --git a/lib/galaxy/webapps/galaxy/api/history_contents.py b/lib/galaxy/webapps/galaxy/api/history_contents.py index 6deec3f66493..22ef957997fe 100644 --- a/lib/galaxy/webapps/galaxy/api/history_contents.py +++ b/lib/galaxy/webapps/galaxy/api/history_contents.py @@ -824,7 +824,7 @@ def delete_typed( self, response: Response, trans: ProvidesHistoryContext = DependsOnTrans, - history_id: DecodedDatabaseIdField = HistoryIDPathParam, + history_id: str = Path(..., description="History ID or any string."), id: DecodedDatabaseIdField = HistoryItemIDPathParam, type: HistoryContentType = ContentTypePathParam, serialization_params: SerializationParams = Depends(query_serialization_params),