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