Function disableAutomation

  • Disables an automation so that it cannot be run. To disable 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: TenantAdmin, AnalyticsAdmin
    • 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.DisableAutomationHttpResponse>

    DisableAutomationHttpError