Get sharepoint subsite permissions groups/user list

I would like to know who has the access to my sharepoint site using MS flow.
It can be granted the permission to a person or to a group

how do i get all information by using flow? any API ?