I have a Blazor, Azure Stacic Web App that is using Azure HTTP Trigger Functions to perform CRUD operations on an Azure CosmosDB. I am unsure how to remove a single item from the database? GET and POST actions seem to be well documented for HTTP Trigger Functions but I am struggling to find out how to perform a DELETE on just a single item. I have the id property of the item, so would be choosing the item to be removed by it's id.
For my POST actions I am using the IAsyncCollector object and it's Add method, but there doesn't look to be an equivalent for removing.
This is my first question on StackOverflow so if I need more detail/specifics then please let me know :) . I am also relatively new to Azure Functions so if I am fundamentally misunderstanding something then that would be great to know.
Thank you!