API : iIs there a way to delete a custom segment via its name (and not its id)

Hi,

I am creating custom segment through the API. I was wondering if there is a way to delete it thanks its name rather than its id.

Thanks !