How to get a list of enrolled boards of a user?

I want to get a Json response from Trello Rest Api which has details of all the boards the user is enrolled in. Is there any way to go about it. I tried to find it in documentation but could not.

You’ll want to ask for the boards of a member via the 1/members/{idMember}/boards route:
https://developers.trello.com/reference#membersidboards

Thanks for helping me out @bcook