Table of Contents

Interface INetworksSm

Namespace
Meraki.Api.Interfaces.General.Networks
Assembly
Meraki.Api.dll

I Networks Sm

public interface INetworksSm

Methods

InstallNetworkSmDeviceAppsAsync(string, string, SmInstallAppsRequest, CancellationToken)

Install applications on a device

[Post("/networks/{networkId}/sm/devices/{deviceId}/installApps")]
Task InstallNetworkSmDeviceAppsAsync(string networkId, string deviceId, SmInstallAppsRequest smInstallAppsRequest, CancellationToken cancellationToken = default)

Parameters

networkId string

The Network ID

deviceId string

The Device ID

smInstallAppsRequest SmInstallAppsRequest
cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

RebootNetworkSmDevicesAsync(string, SmRebootRequest, CancellationToken)

Reboot a set of endpoints

[Post("/networks/{networkId}/sm/devices/reboot")]
Task<SmActionResponse> RebootNetworkSmDevicesAsync(string networkId, SmRebootRequest smRebootRequest, CancellationToken cancellationToken = default)

Parameters

networkId string

The Network ID

smRebootRequest SmRebootRequest
cancellationToken CancellationToken

Returns

Task<SmActionResponse>

Exceptions

ApiException

Thrown when fails to make API call

ShutdownNetworkSmDevicesAsync(string, SmShutdownRequest, CancellationToken)

Shutdown a set of endpoints

[Post("/networks/{networkId}/sm/devices/shutdown")]
Task<SmActionResponse> ShutdownNetworkSmDevicesAsync(string networkId, SmShutdownRequest smShutdownRequest, CancellationToken cancellationToken = default)

Parameters

networkId string

The Network ID

smShutdownRequest SmShutdownRequest
cancellationToken CancellationToken

Returns

Task<SmActionResponse>

Exceptions

ApiException

Thrown when fails to make API call

UninstallNetworkSmDeviceAppsAsync(string, string, SmUninstallAppsRequest, CancellationToken)

Uninstall applications on a device

[Post("/networks/{networkId}/sm/devices/{deviceId}/uninstallApps")]
Task UninstallNetworkSmDeviceAppsAsync(string networkId, string deviceId, SmUninstallAppsRequest smInstallAppsRequest, CancellationToken cancellationToken = default)

Parameters

networkId string

The Network ID

deviceId string

The Device ID

smInstallAppsRequest SmUninstallAppsRequest
cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call