Using an API - getting "Groups of user permissions"

Welcome to the community, @it_maxence_delaunay! This post discussed previously should help you solve your issue: