Enum TeamDeleteMode
What DeleteTeamAsync does to a team.
public enum TeamDeleteMode
Fields
Hard = 1Remove the team record and drop its storage immediately, as versions before 3.13.1 did.
Irreversible, and it requires whatever privilege the storage adapter needs to drop a team's data — for the MongoDB adapter in a per-team-database deployment, that is
dropDatabase. Choose it only where a deletion genuinely must leave nothing behind.Soft = 0Mark the team deleted and hide it from every read. The default.
Recoverable, and — the reason it is the default — it needs no elevated database privilege. Dropping a team's storage is confined to
PurgeTeamAsync, so a deployment whose database user cannot drop databases can still delete teams (Tharga/Team#224).