Archiving via Code

Hi, I'm making a massive cleanup of queries and dashboards. I want to know if I can archive hundreds of querys and dashboards via code, using the ID's as conditions for deletion.

Thanks

Hi @Vallistruqui
Almost everything that you can do in the interface, can be done via the API, so yes.
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.
https://www.metabase.com/learn/developing-applications/advanced-metabase/metabase-api.html