Function enableAutomation

  • Enables an automation so that it can be run. To enable an automation, the requesting user must meet at least one of the following conditions:

    • be the owner of the automation
    • be assigned one of the following roles: AnalyticsAdmin, TenantAdmin
    • have at least one of the following scopes: admin.automations, admin.automations:strict, automations.private, or automations.shared

    Parameters

    • id: string

      The unique identifier for the automation.

    • Optionaloptions: ApiCallOptions

    Returns Promise<automations.EnableAutomationHttpResponse>

    EnableAutomationHttpError