Can I get a user using the `user_id` of a linked identity?

Say I have 2 database connections, can I get a user using the secondary connection’s user_id?

This link seems to suggest the answer is yes? Identify Users

But I keep getting a 404 back - I’ve tried to use the connection name, connection ID as a prefix before the pipe, but no luck.

Hi @vladi

The GET /api/v2/users/{id} endpoint from the management API needs the primary user_id to be used in the request, so indeed you’ll get a 404 if you try to use the secondary user_id.

2 Likes

Thanks for helping on this one Ricardo!