Optionally specify a version to delete a specific version of the event.
@example
import utils from'@eventcatalog/utils'; const{ rmEventById }=utils('/path/to/eventcatalog'); // deletes the latest InventoryAdjusted event awaitrmEventById('InventoryAdjusted'); // deletes a specific version of the InventoryAdjusted event awaitrmEventById('InventoryAdjusted','0.0.1');
Delete an event by it's id.
Optionally specify a version to delete a specific version of the event.