def METHOD_NAME(
    self,
    *,
    organization_id: int,
    organization_integration_id: int,
    integration_id: int,
) -> None:
    with transaction.atomic(router.db_for_write(Repository)):
        # Disassociate repos from the organization integration being deleted
        Repository.objects.filter(
            organization_id=organization_id, integration_id=integration_id
        ).update(integration_id=None)
        # Delete Code Owners with a Code Mapping using the OrganizationIntegration
        ProjectCodeOwners.objects.filter(
            repository_project_path_config__in=RepositoryProjectPathConfig.objects.filter(
                organization_integration_id=organization_integration_id
            ).values_list("id", flat=True)
        ).delete()
        # Delete the Code Mappings
        RepositoryProjectPathConfig.objects.filter(
            organization_integration_id=organization_integration_id
        ).delete()