Ability to hide/show queryable tables using APIs

I see the feature of hide/show queryable tables in Admin -> Data Model -> .
However, considering the number of times we have to do this, we would have to automate it. I am not able to see this mentioned in the API documentation https://www.metabase.com/docs/latest/api-documentation.html
Wanted to check if the actual API is missing or am I missing spotting it in the documentation.
And if the API is missing, can it be added.

Everything in the UI is available in the API - it’s how the UI works. You’ll be able to see the calls in the log.
Personally, I just update the database table directly, but that’s not really supported.

1 Like