Creates a named Team and makes the current linked user its first admin. Linked users may belong to at most 25 Teams.
Creates a short-lived, email-bound Join link. Sporades returns it but never sends it. The default lifetime is 86400 seconds; accepted integer lifetimes are 300 through 604800 seconds.
Optionaloptions: { ttlSeconds?: number }Deletes a Team only when the caller is its sole remaining admin member.
Demotes an admin only when another committed Team admin remains.
Safely inspects a Join link before authentication without consuming it.
Redeems a current matching Join link atomically. New memberships are ordinary members with no application roles.
Leaves an explicitly identified Team only while the caller is an ordinary member.
Lists active Join-link management metadata without capability codes or URLs.
Lists a bounded safe membership directory for one Team the caller currently administers.
Promotes an ordinary member in an explicitly identified Team the caller currently administers.
Removes another Team member and their runtime-owned membership authority. Self-removal uses leave().
Renames an explicitly identified Team administered by the current user.
Idempotently revokes one unused Join link in an administered Team.
Atomically adds and removes declared application roles for a member of one administered Team.
Checks whether the current linked user's attached emails match an active Join link without consuming it.
Built-in current-user Team operations over the standard client transport.