@combeenation/custom-code-sdk
    Preparing search index...

    Function changeDistributor

    • Restarts the configurator with a new configuration for the given distributor.

      Parameters

      • OptionaldistributorName: string

        Name of the distributor to switch to. If omitted, switches to the company tenant.

      • OptionalcopyCfgnValues: boolean

        If true (default), the values of the current configuration are copied over to the new one.

      Returns Promise<RestartCfgnResultData | undefined>

      The URLs of the new configuration or undefined if changing the distributor failed.