Mass Disablement of Data Flows (Data Management)
![robkoste](https://us.v-cdn.net/6032830/uploads/defaultavatar/nZ5X977MOM3Z6.jpg)
Hi All
As a Domo admin, our team is working on some clean up activities and want to disable (and maybe eventually delete) old/out of date/no longer running data flows. Disabling can be done through the UI 1 flow at a time however looking to see if there is a way to call an api or admin utility to do a mass or scripted disablement? Looking through the developer.domo.com I don't see any api's available to do this.
Best Answer
-
You can multi-select dataflows from the Dataflows tab in the Data Center and then disable all selected dataflows at once, which is definitely quicker than doing them one by one, but I assume you would like to do it in greater bulk than that, correct?
There's not a published API for disabling dataflows, but you can sniff out the API by performing the action while watching the Network tab in Developer Tools (that's where it's located in Chrome - might be called something else in another browser). You can then write a script to iterate through a file of dataflow IDs (and whatever other pieces of info are part of the API call, I'm assuming dataflow ID is one required piece). Since those APIs are not published I wouldn't recommend creating long-term, ongoing processes based on them (they might change and there wouldn't be a way for you to know), but I've had success using them to avoid manual work for ad hoc tasks (like one-time cleanups). I've never used the API for disabling dataflows, but I've used APIs for other data center tasks with success (like sharing datasets).
Domo Product Manager for Data Transformation (MagicETL)
2
Answers
-
You can multi-select dataflows from the Dataflows tab in the Data Center and then disable all selected dataflows at once, which is definitely quicker than doing them one by one, but I assume you would like to do it in greater bulk than that, correct?
There's not a published API for disabling dataflows, but you can sniff out the API by performing the action while watching the Network tab in Developer Tools (that's where it's located in Chrome - might be called something else in another browser). You can then write a script to iterate through a file of dataflow IDs (and whatever other pieces of info are part of the API call, I'm assuming dataflow ID is one required piece). Since those APIs are not published I wouldn't recommend creating long-term, ongoing processes based on them (they might change and there wouldn't be a way for you to know), but I've had success using them to avoid manual work for ad hoc tasks (like one-time cleanups). I've never used the API for disabling dataflows, but I've used APIs for other data center tasks with success (like sharing datasets).
Domo Product Manager for Data Transformation (MagicETL)
2
Categories
- All Categories
- 1.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 303 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3K Transform
- 105 SQL DataFlows
- 643 Datasets
- 2.2K Magic ETL
- 4K Visualize
- 2.5K Charting
- 771 Beast Mode
- 74 App Studio
- 43 Variables
- 721 Automate
- 185 Apps
- 463 APIs & Domo Developer
- 59 Workflows
- 14 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 402 Distribute
- 116 Domo Everywhere
- 277 Scheduled Reports
- 9 Software Integrations
- 135 Manage
- 132 Governance & Security
- 8 Domo Community Gallery
- 44 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 111 Community Announcements
- 4.8K Archive