โ† API reference
Mutation / admin

deleteTeamMembership

Delete only the membership, leaving the user and team intact. Requires team:write permission.

Arguments

Membership identity to delete

Returns DeleteTeamMembershipPayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete DeleteTeamMembershipPayload type

Explore in a view

Administration and IAM
View exact SDL
"""
Delete only the membership, leaving the user and team intact. Requires team:write permission.
"""
deleteTeamMembership(
  """Membership identity to delete"""
  id: TeamMembershipID!
): DeleteTeamMembershipPayload! @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.