Starts a new season by the given ID (if it exists). The season must already be created AND inactive.
Season is identified by its stringified ObjectID.
ObjectID
const seasonId: string = "9e9f99daa45c7";const { acknowledged, matchedCount, modifiedCount, upsertedCount, upsertedId,} = await sdk.startSeasonById({ seasonId });
ID of the season to be started.
Generated using TypeDoc
Starts a new season by the given ID (if it exists). The season must already be created AND inactive.
Season is identified by its stringified
ObjectID
.Usage