Hello -- is anyone aware if there's a way to call a Hubitat API that can pause or resume an app? It looks like the Maker API is available to control devices (which I do) but I'd like to use an API call to pause or resume a specific app. (I know you can do this in the interface; I'm just asking if it's possible with an API call.)
Officially, nothing that I am aware of. Unofficially, you can probably cobble something together by doing a POST to a certain endpoint with a specific body (take a look at your browser's network console or similar feature when you check/uncheck the box in the UI), likely easy if you don't have hub security enabled and slightly difficult but not impossible if you do ... but that would be subject to break with any update if the mechanism this uses ever changes.
As @bertabcd1234 indicated, there is no official method to enable/disable an app. But it is pretty simple to do via an HTTP POST, sent for example, using Rule Machine.
All you need to know is the App-ID. There's a detailed example in the link pasted below describing how to disable/enable the Amazon Echo Skill.