Forum Discussion

RyanT's avatar
7 years ago

Disable datasources at group level via API

Hey guys,

I've looked through the API documentation but can't see a way to enable/disable datasources at the group level (as you can do via the UI via the checkboxes on the alert tuning tab).

You can do group level thresholds via the API, which is close but not the same.

Am I missing something or is this not possible?

  • Sarah_Terry's avatar
    Sarah_Terry
    Icon for Product Manager rankProduct Manager

    Hi @RyanT,

    Thanks for posting. Enabling / disabling DataSources at the group level would require a PUT request to the following resource: /device/groups/{groupID}/datasources/{dataSourceID}. We can publish the ability to do this in the next few releases.

    Thanks,

    Sarah