How to revoke database access via API?


How do I revoke database access from a group via the api call? I see that I get the current permission graph via GET /api/permissions/graph, modify the graph, and then submit it via PUT /api/permissions/graph. How do I alter the permissions graph to indicate that a group should no longer have access to a database?

Hi @celery
The best way to learn the API, is to just use Metabase while having your browser developer Network-tab open and looking at the request, and what data is being send/received.
You would send a PUT request containing the new permissions.