Function changeOwnerAutomation

  • Changes the owner of an automation to another user. This action removes the history and change logs of this automation. All linked connections used in the automation are detached and not moved to the new owner.

    Parameters

    • id: string

      The unique identifier for the automation.

    • body: { userId: string }

      an object with the body content

      • userId: string

        The unique identifier of the new owner.

    • Optionaloptions: ApiCallOptions

    Returns Promise<ChangeOwnerAutomationHttpResponse>

    ChangeOwnerAutomationHttpError