Skip to main content
Mutation

acceptProfileInvite

Accepts a team invitation for the signed-in user, who joins the profile with the invited role. Fails when the invitation is unknown, already accepted or expired.

Arguments

  • tokenString!

    The token from the invitation link.

Returns

AcceptProfileInviteOutput!

Example

mutation AcceptProfileInvite($token: String!) {
  acceptProfileInvite(token: $token) {
    profileId
  }
}