API EndPoint to get list of permissions though user-id(Find all permissions of a user)

Is there any api end_point of keycloak through which i can get all the permissions given to a user by user-id or if i can evaluate wether a given permission is there for an user or not?

Any help on this is appriciated