Invitations
Last updated
Was this helpful?
Last updated
Was this helpful?
Accept or decline a pending invitation.
Args: invitation_id: ID of the invitation. accept: Whether to accept the invitation or not. user: The authenticated user. invitation_manager: Invitation manager.
Raises: HTTPException: If accepting the invitation failed because the organization user limit would be exceeded.
Returns: ID of the organization if the invitation was accepted.