Invitations
Last updated
Was this helpful?
Last updated
Was this helpful?
Delete an invitation.
Args: organization_id: The ID of the organization, invitation_id: ID of the invitation to delete. user: The authenticated user. rbac: RBAC component. invitation_manager: Invitation manager.
No content
List invitations for the organization.
Args: organization_id: The organization ID. inviting_user_id: Filter by the ID of the inviting user. email: Filter by the email. only_pending: If True, only include pending invitations. user: The authenticated user. rbac: RBAC component. invitation_manager: Invitation manager.
Returns: List of invitations.
false
Invitation read model.
Create an invitation for the organization.
Args: organization_id: ID of the organization. invitation: The invitation to create. user: The authenticated user. rbac: RBAC component. invitation_manager: Invitation manager.
Raises: RoleNotFound: If the role does not exist or does not belong to the organization. ValueError: If the invitation role is not an organization role.
Returns: The invitation.
Invitation create model.
Invitation read model.