How to return full `profile` when updating `user_metadata`?

I’m doing a PATCH request with update:current_user_metadata scope permissions:

curl --request PATCH
–url ‘/api/v2/users/<USER_ID>’
–header 'authorization: Bearer <ACCESS_TOKEN>
–header ‘content-type: application/json’
–data ‘{“user_metadata”: { … }}’


Which returns the changed metadata

{“user_metadata”:{ … }}


I'd prefer it to return the user profile with the scopes `["openid", "name", "email"]` (as you'd get pinging the `/userinfo` endpoint).

Is this possible? Or do I just have to make another call to `/userinfo` after updating the user metadata?

Sorry I screwed up the formatting :wink:

Hi @rob829304

Welcome to the Auth0 Community!

Thanks for letting us know! If you ever have any other questions, let us know!

Kind Regards,
Nik