Grant permission through api

is there a way to grant a group an access permission to a database via api?
I couldn’t find anything regarding that in this document https://github.com/metabase/metabase/blob/master/docs/api-documentation.md

I think it’s /api/permissions/graph

If you can’t find something, just do the ‘thing’ in Metabase, then check the Troubleshooting logs - you’ll see the requests made to do the ‘thing’

1 Like

Great tip, Thank you.