I have been in interview situations where the interviewer had asked pressing questions regarding my achievements: "did you do it or was it the team?". Should I downplay and say it was a team effort at the risk of losing my credibility because I had initially said it was an achievement of mine or continue to stand firm at the risk of sounding like a bad team player.
Edit 1: I had actually owned a major chunk of the project and had known the flow end to end with a deep understanding of how things work as I was part of the project from scratch. So the question is not about lying, rather it's about how to convince the interviewer that I am a good team player and also a good individual contributor. Also, detailed explanations might not be possible in the interview setting when all that the interviewer gets is 45 mins per round which includes problem solving/coding.
The responsibilities of the project were usually bestowed upon the individual under high-pressure scenarios with looming deadlines. But there is a good chance that the interviewer might feel that I am twisting facts because not everyone comes from the same working background.
PS: Thank you for the valuable insight and answers.