Write me a some curl queries that will delete the top n sessions in this list sorted by date newest at the top, by finding the "id" value and creating a HTTP request to WEB_DOMAIN/api/share/{id}
{"sessions":[{"id":"0C55IysO","sessionID":"ses_43676689bffeE5WUWt0C55IysO","title":"Adjusting lua_ls workspace loading","directory":"/home/jm/.config/nvim","messageCount":15,"partCount":42,"diffCount":0,"modelCount":1,"lastUpdated":1768620967603,"syncCount":60,"createdAt":1768612796487},{"id":"0XY6InVi","sessionID":"ses_3c96c9569ffeMGGuT10XY6InVi","messageCount":0,"partCount":0,"diffCount":0,"modelCount":0,"lastUpdated":1770442156755,"syncCount":0,"createdAt":1770442156755},{"id":"0kmI3ZgT","sessionID":"ses_3b5e2675fffea9u8fO0kmI3ZgT","title":"","directory":"","messageCount":0,"partCount":0,"diffCount":0,"modelCount":0,"lastUpdated":1770769979618,"syncCount":0,"createdAt":1770769979618},{"id":"1ASv0Px6","sessionID":"ses_456a2436dffevH0Hyv1ASv0Px6","title":"Analyzing session create and sync API request bodies","directory":"/home/jm/data/code/opencode","messageCount":51,"partCount":143,"diffCount":1,"modelCount":1,"lastUpdated":1768492213400,"syncCount":1,"createdAt":1768492211545},{"id":"2W4P8X9N","sessionID":"ses_01HMRVX72J3Y9K5QZR2W4P8X9N","messageCount":0,"partCount":0,"diffCount":0,"modelCount":0,"lastUpdated":1768491385499,"syncCount":0,"createdAt":1768491385499},{"id":"2auUzpmh","sessionID":"ses_3d15a3972ffemNFo3H2auUzpmh","title":"OCaml TUI project architecture study","directory":"/home/jm/data/code/toki","messageCount":13,"partCount":55,"diffCount":0,"modelCount":2,"lastUpdated":1770315109409,"syncCount":268,"createdAt":1770309142370},{"id":"2uZAH1p7","sessionID":"ses_3ba8dbd6bffefE8I7W2uZAH1p7","title":"WP1: HIR types & construction (@analyzer subagent)","directory":"/home/jm/data/ai/cloudlang-trees/react","messageCount":6,"partCount":31,"diffCount":0,"modelCount":1,"lastUpdated":1770693008683,"syncCount":2,"createdAt":1770691987575},{"id":"3C3LuZLF","sessionID":"ses_4307034bcffeOcCfcP3C3LuZLF","title":"Fixing opencode errors for bun run dev","directory":"/home/jm/data/code/opencode","messageCount":14,"partCount":54,"diffCount":21,"modelCount":2,"lastUpdated":1768715413557,"syncCount":31,"createdAt":1768715097303},{"id":"3jrOOSbe","sessionID":"ses_42dafad1affengU1Dh3jrOOSbe","title":"Installing opencode antigravity auth","directory":"/home/jm/data/code/opencode/packages/opencode","messageCount":32,"partCount":128,"diffCount":24,"modelCount":1,"lastUpdated":1768761748893,"syncCount":135,"createdAt":1768760038335},