Hi Sameer,
Thanks for your help, This http request action helped in fetching the list of access profiles owned by user so I didn’t have to use a loop for removing access.