Hello @MD2024
You will need to use the REST API -
Method: Delete
Uri: _api/web/Lists/GetByTitle(‘Your list title’)/Items(<Your Item id here>)
Headers: Add the If-Match header with the value of * to ignore the ETAG validation

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.