Deleting an item from a Data Jar list

Hi, I’m setting up a Shortcut which uses a Data Jar list (not a dictionary) and want to select an item from the list, then delete it from the list. I can get the list using ‘Get Value’, followed by Choose from list, but the inly way I can get the ‘Delete Value’ action to work is by supplying the list name and an index (e.g. listtname.1).

Can anyone tell me how to delete an item from a Data Jar list by name?

Here is a worked example.

https://www.icloud.com/shortcuts/9b4219c9ce7e4103b6373d7db646478a

That worked perfectly, thanks Stephen.