delete https://elastic.messangi.me/qarth/v3/lists//segments/
This endpoint allows you to delete an existing segment from a certain list. You need to provide the unique identifier (listId) of the list where the segment is located and the id of the segment you want to delete.