Auth0 - Prevent account linking if account already exists

Hi, is there a way to prevent linking account if account already exists ? For example: I have two accounts one and another (both are google sign ins). Now if I want to link test2 with test1, I would like to throw an error saying that the account already exists. That’s the requirement of our application. can be a standalone email or a previously linked email. Is that possible ?

I am aware of this endpoint.

But this doesn’t return if exists as a linked email.

Debabrata Pramanik