Skip to main content

leaveTeam

Leave a team (removes the caller's own membership). Returns true if a membership was removed.

leaveTeam(
groupId: BigInt!
idempotencyKey: String
): Boolean!

Arguments​

leaveTeam.groupId ● BigInt! non-null scalar​

The team to leave.

leaveTeam.idempotencyKey ● String scalar​

Optional idempotency key. Recommended for retries: replaying with the same key and identical arguments returns the first result instead of re-applying; the same key with different arguments returns IDEMPOTENCY_CONFLICT. Keys expire after 24h.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.