Delete Options of bundle product by option id Magento 2.

You can delete/remove the specific Bundle options by option id in Magento 2.

Bundle product has multiple options generated and if you want to remove some options from the product, You can remove it programmatically using option id and Bundle SKU.

Just instantiate the repository interface to the constructor of the model class,
Magento\Bundle\Api\ProductOptionRepositoryInterface and use the deleteById() method to delete options.

In the above method, You need to pass SKU is Bundle Parent Product SKU and option id you want to delete option from the bundle item.

Output:
Boolean

If Bundle product SKU and option id passed correct, Result will be true otherwise error thrown.