Interface ISmUserAccessDevices
- Namespace
- Meraki.Api.Interfaces.Products.Sm
- Assembly
- Meraki.Api.dll
Represents a collection of functions to interact with the API endpoints
public interface ISmUserAccessDevices
Methods
DeleteNetworkSmUserAccessDeviceAsync(string, string, CancellationToken)
Delete a User Access Device
[Delete("/networks/{networkId}/sm/userAccessDevices/{userAccessDeviceId}")]
Task DeleteNetworkSmUserAccessDeviceAsync(string networkId, string userAccessDeviceId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
userAccessDeviceIdstringThe user access device id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetNetworkSmUserAccessDevicesAsync(string, int?, string, string, CancellationToken)
List User Access Devices and its Trusted Access Connections
[Get("/networks/{networkId}/sm/userAccessDevices")]
Task<List<UserAccessDevices>> GetNetworkSmUserAccessDevicesAsync(string networkId, int? perPage = 1000, string startingAfter = null, string endingBefore = null, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
perPageint?The number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.
startingAfterstringA token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBeforestringA token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call