This is not possible to remove the line item from the order through Shopify REST API. The Orders API allows only for updating properties of an order including `buyer_accepts_marketing`, `email`, `phone`, `note`, `tags`, `metafields` and `shipping_address_attributes`. It is not for editing the items of an order.
Arslan | Shopify Developer - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution Feel free to ask if you have any question, I'd love to extend a hand to help you out.