Skip to main content

rmTeamById

Callable

  • rmTeamById(catalogDir: string): (id: string) => Promise<void>

  • Delete a team by it's id.

    @example
    import utils from '@eventcatalog/utils';

    const { rmTeamById } = utils('/path/to/eventcatalog');

    // deletes the EventCatalogCoreTeam team
    await rmTeamById('eventcatalog-core-team');