Function deleteAwardById

  • Delete an award with given ID (if it exists).

    Award is identified by its stringified ObjectID.

    Usage

    const awardId: string = "5f5e555d5a578b6";
    const {
    acknowledged,
    deletedCount,
    } = await sdk.deleteAwardById({ awardId });

    Parameters

    • params: {
          awardId: string;
      }
      • awardId: string

        ID of the award to delete.

    Returns Promise<DeleteResult>

Generated using TypeDoc