// Remove projects with id 1, 2, 3 await user.related('projects').detach([1, 2, 3]) // Remove all projects await user.related('projects').detach()