New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

meraki

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meraki

The Cisco Meraki Dashboard API is a modern REST API based on the [OpenAPI](https://swagger.io/docs/specification/about/) specification. ## What can the API be used for? The Dashboard API can be used for many purposes. It's meant to be an open-ended tool.

latest
Source
npmnpm
Version
1.5.0
Version published
Maintainers
1
Created
Source

Getting started

The Cisco Meraki Dashboard API is a modern REST API based on the OpenAPI specification.

What can the API be used for?

The Dashboard API can be used for many purposes. It's meant to be an open-ended tool. Here are some examples of use cases:

  • Add new organizations, admins, networks, devices, VLANs, and more
  • Configure networks at scale
  • Automatically on-board and off-board new employees' teleworker setups
  • Build your own dashboard for store managers, field techs, or unique use cases

Enabling the Dashboard API

  • Begin by logging into Meraki Dashboard and navigating to Organization > Settings

  • Locate the section titled Dashboard API access and select Enable Access, then Save your changes

  • After enabling the API, choose your username at the top-right of the Meraki Dashboard and select my profile

  • Locate the section titled Dashboard API access and select Generate new API key

Note: The API key is associated with a Dashboard administrator account. You can generate, revoke, and regenerate your API key on your profile.

Keep your API key safe as it provides authentication to all of your organizations with the API enabled. If your API key is shared, you can regenerate your API key at any time. This will revoke the existing API key.

Copy and store your API key in a safe place. Dashboard does not store API keys in plaintext for security reasons, so this is the only time you will be able to record it. If you lose or forget your API key, you will have to revoke it and generate a new one.

Every request must specify an API key via a request header.

The API key must be specified in the URL header. The API will return a 404 (rather than a 403) in response to a request with a missing or incorrect API key in order to prevent leaking the existence of resources to unauthorized users.

X-Cisco-Meraki-API-Key: <secret key>

Read more about API authorization

Versioning

Once an API version is released, we will make only backwards-compatible changes to it. Backwards-compatible changes include:

  • Adding new API resources

  • Adding new optional request parameters to existing API methods

  • Adding new properties to existing API responses

  • Changing the order of properties in existing API responses

Rate Limit

  • The Dashboard API is limited to 5 calls per second, per organization.
  • A burst of 5 additional calls are allowed in the first second, so a maximum of 15 calls in the first 2 seconds.
  • The rate limiting technique is based off of the token bucket model.
  • An error with a 429 status code will be returned when the rate limit has been exceeded.
  • Expect to backoff for 1 - 2 seconds if the limit has been exceeded. You may have to wait potentially longer if a large number of requests were made within this timeframe.

Additional Details

Identifiers in the API are opaque strings. A {networkId}, for example, might be the string "126043", whereas an {orderId} might contain characters, such as "4S1234567". Client applications must not try to parse them as numbers. Even identifiers that look like numbers might be too long to encode without loss of precision in Javascript, where the only numeric type is IEEE 754 floating point.

Verbs in the API follow the usual REST conventions:

GET returns the value of a resource or a list of resources, depending on whether an identifier is specified. For example, a GET of /organizations returns a list of organizations, whereas a GET of /organizations/{organizationId} returns a particular organization.

POST adds a new resource, as in a POST to /organizations/{organizationId}/admins, or performs some other non-idempotent change.

PUT updates a resource. PUTs are idempotent; they update a resource, creating it first if it does not already exist. A PUT should specify all the fields of a resource; the API will revert omitted fields to their default value.

DELETE removes a resource.

How to Build

The generated SDK relies on Node Package Manager (NPM) being available to resolve dependencies. If you don't already have NPM installed, please go ahead and follow instructions to install NPM from here. The SDK also requires Node to be installed. If Node isn't already installed, please install it from here

NPM is installed by default when Node is installed

To check if node and npm have been successfully installed, write the following commands in command prompt:

  • node --version
  • npm -version

Version Check

Now use npm to resolve all dependencies by running the following command in the root directory (of the SDK folder):

npm install

Resolve Dependencies

Resolve Dependencies

This will install all dependencies in the node_modules folder.

Once dependencies are resolved, you will need to move the folder Meraki in to your node_modules folder.

How to Use

The following section explains how to use the library in a new project.

1. Open Project Folder

Open an IDE/Text Editor for JavaScript like Sublime Text. The basic workflow presented here is also applicable if you prefer using a different editor or IDE.

Click on File and select Open Folder.

Open Folder

Select the folder of your SDK and click on Select Folder to open it up in Sublime Text. The folder will become visible in the bar on the left.

Open Project

2. Creating a Test File

Now right click on the folder name and select the New File option to create a new test file. Save it as index.js Now import the generated NodeJS library using the following lines of code:

var lib = require('lib');

Save changes.

Create new file

Save new file

3. Running The Test File

To run the index.js file, open up the command prompt and navigate to the Path where the SDK folder resides. Type the following command to run the file:

node index.js

Run file

How to Test

These tests use Mocha framework for testing, coupled with Chai for assertions. These dependencies need to be installed for tests to run. Tests can be run in a number of ways:

Method 1 (Run all tests)

  • Navigate to the root directory of the SDK folder from command prompt.
  • Type mocha --recursive to run all the tests.

Method 2 (Run all tests)

  • Navigate to the ../test/Controllers/ directory from command prompt.
  • Type mocha * to run all the tests.

Method 3 (Run specific controller's tests)

  • Navigate to the ../test/Controllers/ directory from command prompt.
  • Type mocha Meraki Dashboard APIController to run all the tests in that controller file.

To increase mocha's default timeout, you can change the TEST_TIMEOUT parameter's value in TestBootstrap.js.

Run Tests

Initialization

Authentication

In order to setup authentication in the API client, you need the following information.

ParameterDescription
xCiscoMerakiAPIKeyTODO: add a description

API client can be initialized as following:

const lib = require('lib');

// Configuration parameters and credentials
lib.Configuration.xCiscoMerakiAPIKey = "xCiscoMerakiAPIKey";

Class Reference

List of Controllers

Class: APIUsageController

Get singleton instance

The singleton instance of the APIUsageController class can be accessed from the API Client.

var controller = lib.APIUsageController;

Method: getOrganizationApiRequests

List the API requests made by an organization

function getOrganizationApiRequests(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 31 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 31 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 31 days.
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 1000. Default is 50.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.
adminIdOptionalFilter the results by the ID of the admin who made the API requests
pathOptionalFilter the results by the path of the API requests
methodOptionalFilter the results by the method of the API requests (must be 'GET', 'PUT', 'POST' or 'DELETE')
responseCodeOptionalFilter the results by the response code of the API requests

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 217.617439666119;
        input['perPage'] = 217;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';
        input['adminId'] = 'adminId';
        input['path'] = 'path';
        input['method'] = 'method';
        input['responseCode'] = 217;

    controller.getOrganizationApiRequests(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ActionBatchesController

Get singleton instance

The singleton instance of the ActionBatchesController class can be accessed from the API Client.

var controller = lib.ActionBatchesController;

Method: createOrganizationActionBatch

Create an action batch

function createOrganizationActionBatch(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
createOrganizationActionBatchRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['createOrganizationActionBatch'] = new CreateOrganizationActionBatchModel({"key":"value"});

    controller.createOrganizationActionBatch(input, function(error, response, context) {

    
    });

Method: getOrganizationActionBatches

Return the list of action batches in the organization

function getOrganizationActionBatches(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationActionBatches(organizationId, function(error, response, context) {

    
    });

Method: getOrganizationActionBatch

Return an action batch

function getOrganizationActionBatch(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
actionBatchIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['actionBatchId'] = 'actionBatchId';

    controller.getOrganizationActionBatch(input, function(error, response, context) {

    
    });

Method: deleteOrganizationActionBatch

Delete an action batch

function deleteOrganizationActionBatch(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
actionBatchIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['actionBatchId'] = 'actionBatchId';

    controller.deleteOrganizationActionBatch(input, function(error, response, context) {

    
    });

Method: updateOrganizationActionBatch

Update an action batch

function updateOrganizationActionBatch(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
actionBatchIdRequiredTODO: Add a parameter description
updateOrganizationActionBatchOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['actionBatchId'] = 'actionBatchId';
        input['updateOrganizationActionBatch'] = new UpdateOrganizationActionBatchModel({"key":"value"});

    controller.updateOrganizationActionBatch(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: AdminsController

Get singleton instance

The singleton instance of the AdminsController class can be accessed from the API Client.

var controller = lib.AdminsController;

Method: getOrganizationAdmins

List the dashboard administrators in this organization

function getOrganizationAdmins(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationAdmins(organizationId, function(error, response, context) {

    
    });

Method: createOrganizationAdmin

Create a new dashboard administrator

function createOrganizationAdmin(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
createOrganizationAdminRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['createOrganizationAdmin'] = new CreateOrganizationAdminModel({"key":"value"});

    controller.createOrganizationAdmin(input, function(error, response, context) {

    
    });

Method: updateOrganizationAdmin

Update an administrator

function updateOrganizationAdmin(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description
updateOrganizationAdminOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';
        input['updateOrganizationAdmin'] = new UpdateOrganizationAdminModel({"key":"value"});

    controller.updateOrganizationAdmin(input, function(error, response, context) {

    
    });

Method: deleteOrganizationAdmin

Revoke all access for a dashboard administrator within this organization

function deleteOrganizationAdmin(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';

    controller.deleteOrganizationAdmin(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: AlertSettingsController

Get singleton instance

The singleton instance of the AlertSettingsController class can be accessed from the API Client.

var controller = lib.AlertSettingsController;

Method: getNetworkAlertSettings

Return the alert configuration for this network

function getNetworkAlertSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkAlertSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkAlertSettings

Update the alert configuration for this network

function updateNetworkAlertSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkAlertSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkAlertSettings'] = new UpdateNetworkAlertSettingsModel({"key":"value"});

    controller.updateNetworkAlertSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: BluetoothClientsController

Get singleton instance

The singleton instance of the BluetoothClientsController class can be accessed from the API Client.

var controller = lib.BluetoothClientsController;

Method: getNetworkBluetoothClients

List the Bluetooth clients seen by APs in this network

function getNetworkBluetoothClients(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 7 days from today.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 7 days. The default is 1 day.
perPageOptionalThe number of entries per page returned. Acceptable range is 5 - 1000. Default is 10.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.
includeConnectivityHistoryOptionalInclude the connectivity history for this client

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['timespan'] = 126.122157774457;
        input['perPage'] = 126;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';
        input['includeConnectivityHistory'] = false;

    controller.getNetworkBluetoothClients(input, function(error, response, context) {

    
    });

Method: getNetworkBluetoothClient

Return a Bluetooth client. Bluetooth clients can be identified by their ID or their MAC.

function getNetworkBluetoothClient(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
bluetoothClientIdRequiredTODO: Add a parameter description
includeConnectivityHistoryOptionalInclude the connectivity history for this client
connectivityHistoryTimespanOptionalThe timespan, in seconds, for the connectivityHistory data. By default 1 day, 86400, will be used.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['bluetoothClientId'] = 'bluetoothClientId';
        input['includeConnectivityHistory'] = false;
        input['connectivityHistoryTimespan'] = 126;

    controller.getNetworkBluetoothClient(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: CamerasController

Get singleton instance

The singleton instance of the CamerasController class can be accessed from the API Client.

var controller = lib.CamerasController;

Method: generateNetworkCameraSnapshot

Generate a snapshot of what the camera sees at the specified time and return a link to that image.

function generateNetworkCameraSnapshot(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
generateNetworkCameraSnapshotOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['generateNetworkCameraSnapshot'] = new GenerateNetworkCameraSnapshotModel({"key":"value"});

    controller.generateNetworkCameraSnapshot(input, function(error, response, context) {

    
    });

Returns video link to the specified camera. If a timestamp is supplied, it links to that timestamp.

function getNetworkCameraVideoLink(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
timestampOptional[optional] The video link will start at this timestamp. The timestamp is in UNIX Epoch time (milliseconds). If no timestamp is specified, we will assume current time.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['timestamp'] = 'timestamp';

    controller.getNetworkCameraVideoLink(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ClientsController

Get singleton instance

The singleton instance of the ClientsController class can be accessed from the API Client.

var controller = lib.ClientsController;

Method: getDeviceClients

List the clients of a device, up to a maximum of a month ago. The usage of each client is returned in kilobytes. If the device is a switch, the switchport is returned; otherwise the switchport field is null.

function getDeviceClients(input, callback)

Parameters

ParameterTagsDescription
serialRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 31 days from today.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

Example Usage


    var input = [];
        input['serial'] = 'serial';
        input['t0'] = 't0';
        input['timespan'] = 126.122157774457;

    controller.getDeviceClients(input, function(error, response, context) {

    
    });

Method: getNetworkClients

List the clients that have used this network in the timespan

function getNetworkClients(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 31 days from today.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 1000. Default is 10.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['timespan'] = 126.122157774457;
        input['perPage'] = 126;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkClients(input, function(error, response, context) {

    
    });

Method: provisionNetworkClients

Provisions a client with a name and policy. Clients can be provisioned before they associate to the network.

function provisionNetworkClients(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
provisionNetworkClientsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['provisionNetworkClients'] = new ProvisionNetworkClientsModel({"key":"value"});

    controller.provisionNetworkClients(input, function(error, response, context) {

    
    });

Method: getNetworkClient

Return the client associated with the given identifier. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClient(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';

    controller.getNetworkClient(input, function(error, response, context) {

    
    });

Method: getNetworkClientEvents

Return the events associated with this client. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientEvents(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 100. Default is 100.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['perPage'] = 126;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkClientEvents(input, function(error, response, context) {

    
    });

Method: getNetworkClientLatencyHistory

Return the latency history for a client. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP. The latency data is from a sample of 2% of packets and is grouped into 4 traffic categories: background, best effort, video, voice. Within these categories the sampled packet counters are bucketed by latency in milliseconds.

function getNetworkClientLatencyHistory(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 791 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 791 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 791 days. The default is 1 day.
resolutionOptionalThe time resolution in seconds for returned data. The valid resolutions are: 86400. The default is 86400.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 126.122157774457;
        input['resolution'] = 126;

    controller.getNetworkClientLatencyHistory(input, function(error, response, context) {

    
    });

Method: getNetworkClientPolicy

Return the policy assigned to a client on the network. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientPolicy(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';

    controller.getNetworkClientPolicy(input, function(error, response, context) {

    
    });

Method: updateNetworkClientPolicy

Update the policy assigned to a client on the network. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function updateNetworkClientPolicy(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description
updateNetworkClientPolicyOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['updateNetworkClientPolicy'] = new UpdateNetworkClientPolicyModel({"key":"value"});

    controller.updateNetworkClientPolicy(input, function(error, response, context) {

    
    });

Method: getNetworkClientSplashAuthorizationStatus

Return the splash authorization for a client, for each SSID they've associated with through splash. Only enabled SSIDs with Click-through splash enabled will be included. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientSplashAuthorizationStatus(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';

    controller.getNetworkClientSplashAuthorizationStatus(input, function(error, response, context) {

    
    });

Method: updateNetworkClientSplashAuthorizationStatus

Update a client's splash authorization. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function updateNetworkClientSplashAuthorizationStatus(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description
updateNetworkClientSplashAuthorizationStatusOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['updateNetworkClientSplashAuthorizationStatus'] = new UpdateNetworkClientSplashAuthorizationStatusModel({"key":"value"});

    controller.updateNetworkClientSplashAuthorizationStatus(input, function(error, response, context) {

    
    });

Method: getNetworkClientTrafficHistory

Return the client's network traffic data over time. Usage data is in kilobytes. This endpoint requires detailed traffic analysis to be enabled on the Network-wide > General page. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientTrafficHistory(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 1000.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['perPage'] = 126;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkClientTrafficHistory(input, function(error, response, context) {

    
    });

Method: getNetworkClientUsageHistory

Return the client's daily usage history. Usage data is in kilobytes. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientUsageHistory(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';

    controller.getNetworkClientUsageHistory(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ConfigTemplatesController

Get singleton instance

The singleton instance of the ConfigTemplatesController class can be accessed from the API Client.

var controller = lib.ConfigTemplatesController;

Method: getOrganizationConfigTemplates

List the configuration templates for this organization

function getOrganizationConfigTemplates(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationConfigTemplates(organizationId, function(error, response, context) {

    
    });

Method: deleteOrganizationConfigTemplate

Remove a configuration template

function deleteOrganizationConfigTemplate(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
configTemplateIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['configTemplateId'] = 'configTemplateId';

    controller.deleteOrganizationConfigTemplate(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ConnectivityMonitoringDestinationsController

Get singleton instance

The singleton instance of the ConnectivityMonitoringDestinationsController class can be accessed from the API Client.

var controller = lib.ConnectivityMonitoringDestinationsController;

Method: getNetworkConnectivityMonitoringDestinations

Return the connectivity testing destinations for an MX network

function getNetworkConnectivityMonitoringDestinations(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkConnectivityMonitoringDestinations(networkId, function(error, response, context) {

    
    });

Method: updateNetworkConnectivityMonitoringDestinations

Update the connectivity testing destinations for an MX network

function updateNetworkConnectivityMonitoringDestinations(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkConnectivityMonitoringDestinationsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkConnectivityMonitoringDestinations'] = new UpdateNetworkConnectivityMonitoringDestinationsModel({"key":"value"});

    controller.updateNetworkConnectivityMonitoringDestinations(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ContentFilteringCategoriesController

Get singleton instance

The singleton instance of the ContentFilteringCategoriesController class can be accessed from the API Client.

var controller = lib.ContentFilteringCategoriesController;

Method: getNetworkContentFilteringCategories

List all available content filtering categories for an MX network

function getNetworkContentFilteringCategories(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkContentFilteringCategories(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ContentFilteringRulesController

Get singleton instance

The singleton instance of the ContentFilteringRulesController class can be accessed from the API Client.

var controller = lib.ContentFilteringRulesController;

Method: getNetworkContentFiltering

Return the content filtering settings for an MX network

function getNetworkContentFiltering(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkContentFiltering(networkId, function(error, response, context) {

    
    });

Method: updateNetworkContentFiltering

Update the content filtering settings for an MX network

function updateNetworkContentFiltering(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkContentFilteringOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkContentFiltering'] = new UpdateNetworkContentFilteringModel({"key":"value"});

    controller.updateNetworkContentFiltering(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: DashboardBrandingPoliciesController

Get singleton instance

The singleton instance of the DashboardBrandingPoliciesController class can be accessed from the API Client.

var controller = lib.DashboardBrandingPoliciesController;

Method: getOrganizationBrandingPolicies

List the branding policies of an organization

function getOrganizationBrandingPolicies(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationBrandingPolicies(organizationId, function(error, response, context) {

    
    });

Method: createOrganizationBrandingPolicy

Add a new branding policy to an organization

function createOrganizationBrandingPolicy(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
createOrganizationBrandingPolicyRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['createOrganizationBrandingPolicy'] = new CreateOrganizationBrandingPolicyModel({"key":"value"});

    controller.createOrganizationBrandingPolicy(input, function(error, response, context) {

    
    });

Method: getOrganizationBrandingPoliciesPriorities

Return the branding policy IDs of an organization in priority order. IDs are ordered in ascending order of priority (IDs later in the array have higher priority).

function getOrganizationBrandingPoliciesPriorities(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationBrandingPoliciesPriorities(organizationId, function(error, response, context) {

    
    });

Method: updateOrganizationBrandingPoliciesPriorities

Update the priority ordering of an organization's branding policies.

function updateOrganizationBrandingPoliciesPriorities(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
updateOrganizationBrandingPoliciesPrioritiesRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganizationBrandingPoliciesPriorities'] = new UpdateOrganizationBrandingPoliciesPrioritiesModel({"key":"value"});

    controller.updateOrganizationBrandingPoliciesPriorities(input, function(error, response, context) {

    
    });

Method: getOrganizationBrandingPolicy

Return a branding policy

function getOrganizationBrandingPolicy(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
brandingPolicyIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['brandingPolicyId'] = 'brandingPolicyId';

    controller.getOrganizationBrandingPolicy(input, function(error, response, context) {

    
    });

Method: updateOrganizationBrandingPolicy

Update a branding policy

function updateOrganizationBrandingPolicy(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
brandingPolicyIdRequiredTODO: Add a parameter description
updateOrganizationBrandingPolicyOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['brandingPolicyId'] = 'brandingPolicyId';
        input['updateOrganizationBrandingPolicy'] = new UpdateOrganizationBrandingPolicyModel({"key":"value"});

    controller.updateOrganizationBrandingPolicy(input, function(error, response, context) {

    
    });

Method: deleteOrganizationBrandingPolicy

Delete a branding policy

function deleteOrganizationBrandingPolicy(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
brandingPolicyIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['brandingPolicyId'] = 'brandingPolicyId';

    controller.deleteOrganizationBrandingPolicy(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: DevicesController

Get singleton instance

The singleton instance of the DevicesController class can be accessed from the API Client.

var controller = lib.DevicesController;

Method: getNetworkDevices

List the devices in a network

function getNetworkDevices(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkDevices(networkId, function(error, response, context) {

    
    });

Method: claimNetworkDevices

Claim a device into a network

function claimNetworkDevices(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
claimNetworkDevicesRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['claimNetworkDevices'] = new ClaimNetworkDevicesModel({"key":"value"});

    controller.claimNetworkDevices(input, function(error, response, context) {

    
    });

Method: getNetworkDevice

Return a single device

function getNetworkDevice(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDevice(input, function(error, response, context) {

    
    });

Method: updateNetworkDevice

Update the attributes of a device

function updateNetworkDevice(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
updateNetworkDeviceOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['updateNetworkDevice'] = new UpdateNetworkDeviceModel({"key":"value"});

    controller.updateNetworkDevice(input, function(error, response, context) {

    
    });

Method: blinkNetworkDeviceLeds

Blink the LEDs on a device

function blinkNetworkDeviceLeds(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
blinkNetworkDeviceLedsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['blinkNetworkDeviceLeds'] = new BlinkNetworkDeviceLedsModel({"key":"value"});

    controller.blinkNetworkDeviceLeds(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceLldpCdp

List LLDP and CDP information for a device

function getNetworkDeviceLldpCdp(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
timespanOptionalThe timespan for which LLDP and CDP information will be fetched. Must be in seconds and less than or equal to a month (2592000 seconds). LLDP and CDP information is sent to the Meraki dashboard every 10 minutes. In instances where this LLDP and CDP information matches an existing entry in the Meraki dashboard, the data is updated once every two hours. Meraki recommends querying LLDP and CDP information at an interval slightly greater than two hours, to ensure that unchanged CDP / LLDP information can be queried consistently.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['timespan'] = 126;

    controller.getNetworkDeviceLldpCdp(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceLossAndLatencyHistory

Get the uplink loss percentage and latency in milliseconds for a wired network device.

function getNetworkDeviceLossAndLatencyHistory(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
ipRequiredThe destination IP used to obtain the requested stats. This is required.
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 31 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.
resolutionOptionalThe time resolution in seconds for returned data. The valid resolutions are: 60, 600, 3600, 86400. The default is 60.
uplinkOptionalThe WAN uplink used to obtain the requested stats. Valid uplinks are wan1, wan2, cellular. The default is wan1.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['ip'] = 'ip';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 126.122157774457;
        input['resolution'] = 126;
        input['uplink'] = Object.keys(uplink)[0];

    controller.getNetworkDeviceLossAndLatencyHistory(input, function(error, response, context) {

    
    });

Method: getNetworkDevicePerformance

Return the performance score for a single device. Only primary MX devices supported. If no data is available, a 204 error code is returned.

function getNetworkDevicePerformance(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDevicePerformance(input, function(error, response, context) {

    
    });

Method: rebootNetworkDevice

Reboot a device

function rebootNetworkDevice(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.rebootNetworkDevice(input, function(error, response, context) {

    
    });

Method: removeNetworkDevice

Remove a single device

function removeNetworkDevice(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.removeNetworkDevice(input, function(error, response, context) {

    
    });

Return the uplink information for a device.

function getNetworkDeviceUplink(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDeviceUplink(input, function(error, response, context) {

    
    });

Method: getOrganizationDevices

List the devices in an organization

function getOrganizationDevices(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['perPage'] = 126;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getOrganizationDevices(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: EventsController

Get singleton instance

The singleton instance of the EventsController class can be accessed from the API Client.

var controller = lib.EventsController;

Method: getNetworkEvents

List the events for the network

function getNetworkEvents(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
productTypeOptionalThe product type to fetch events for. This parameter is required for networks with multiple device types. Valid types are wireless, appliance, switch, systemsManager, and camera
includedEventTypesOptional CollectionA list of event types. The returned events will be filtered to only include events with these types.
excludedEventTypesOptional CollectionA list of event types. The returned events will be filtered to exclude events with these types.
deviceMacOptionalThe MAC address of the Meraki device which the list of events will be filtered with
deviceSerialOptionalThe serial of the Meraki device which the list of events will be filtered with
deviceNameOptionalThe name of the Meraki device which the list of events will be filtered with
clientIpOptionalThe IP of the client which the list of events will be filtered with. Only supported for track-by-IP networks.
clientMacOptionalThe MAC address of the client which the list of events will be filtered with. Only supported for track-by-MAC networks.
clientNameOptionalThe name, or partial name, of the client which the list of events will be filtered with
smDeviceMacOptionalThe MAC address of the Systems Manager device which the list of events will be filtered with
smDeviceNameOptionalThe name of the Systems Manager device which the list of events will be filtered with
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 1000. Default is 10.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['productType'] = 'productType';
        input['includedEventTypes'] = ['includedEventTypes'];
        input['excludedEventTypes'] = ['excludedEventTypes'];
        input['deviceMac'] = 'deviceMac';
        input['deviceSerial'] = 'deviceSerial';
        input['deviceName'] = 'deviceName';
        input['clientIp'] = 'clientIp';
        input['clientMac'] = 'clientMac';
        input['clientName'] = 'clientName';
        input['smDeviceMac'] = 'smDeviceMac';
        input['smDeviceName'] = 'smDeviceName';
        input['perPage'] = 126;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkEvents(input, function(error, response, context) {

    
    });

Method: getNetworkEventsEventTypes

List the event type to human-readable description

function getNetworkEventsEventTypes(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkEventsEventTypes(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: FirewalledServicesController

Get singleton instance

The singleton instance of the FirewalledServicesController class can be accessed from the API Client.

var controller = lib.FirewalledServicesController;

Method: getNetworkFirewalledServices

List the appliance services and their accessibility rules

function getNetworkFirewalledServices(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkFirewalledServices(networkId, function(error, response, context) {

    
    });

Method: getNetworkFirewalledService

Return the accessibility settings of the given service ('ICMP', 'web', or 'SNMP')

function getNetworkFirewalledService(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serviceRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['service'] = 'service';

    controller.getNetworkFirewalledService(input, function(error, response, context) {

    
    });

Method: updateNetworkFirewalledService

Updates the accessibility settings for the given service ('ICMP', 'web', or 'SNMP')

function updateNetworkFirewalledService(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serviceRequiredTODO: Add a parameter description
updateNetworkFirewalledServiceRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['service'] = 'service';
        input['updateNetworkFirewalledService'] = new UpdateNetworkFirewalledServiceModel({"key":"value"});

    controller.updateNetworkFirewalledService(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: FloorplansController

Get singleton instance

The singleton instance of the FloorplansController class can be accessed from the API Client.

var controller = lib.FloorplansController;

Method: getNetworkFloorPlans

List the floor plans that belong to your network

function getNetworkFloorPlans(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkFloorPlans(networkId, function(error, response, context) {

    
    });

Method: createNetworkFloorPlan

Upload a floor plan

function createNetworkFloorPlan(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkFloorPlanRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkFloorPlan'] = new CreateNetworkFloorPlanModel({"key":"value"});

    controller.createNetworkFloorPlan(input, function(error, response, context) {

    
    });

Method: getNetworkFloorPlan

Find a floor plan by ID

function getNetworkFloorPlan(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
floorPlanIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['floorPlanId'] = 'floorPlanId';

    controller.getNetworkFloorPlan(input, function(error, response, context) {

    
    });

Method: updateNetworkFloorPlan

Update a floor plan's geolocation and other meta data

function updateNetworkFloorPlan(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
floorPlanIdRequiredTODO: Add a parameter description
updateNetworkFloorPlanOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['floorPlanId'] = 'floorPlanId';
        input['updateNetworkFloorPlan'] = new UpdateNetworkFloorPlanModel({"key":"value"});

    controller.updateNetworkFloorPlan(input, function(error, response, context) {

    
    });

Method: deleteNetworkFloorPlan

Destroy a floor plan

function deleteNetworkFloorPlan(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
floorPlanIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['floorPlanId'] = 'floorPlanId';

    controller.deleteNetworkFloorPlan(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: GroupPoliciesController

Get singleton instance

The singleton instance of the GroupPoliciesController class can be accessed from the API Client.

var controller = lib.GroupPoliciesController;

Method: getNetworkGroupPolicies

List the group policies in a network

function getNetworkGroupPolicies(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkGroupPolicies(networkId, function(error, response, context) {

    
    });

Method: createNetworkGroupPolicy

Create a group policy

function createNetworkGroupPolicy(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkGroupPolicyRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkGroupPolicy'] = new CreateNetworkGroupPolicyModel({"key":"value"});

    controller.createNetworkGroupPolicy(input, function(error, response, context) {

    
    });

Method: getNetworkGroupPolicy

Display a group policy

function getNetworkGroupPolicy(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
groupPolicyIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['groupPolicyId'] = 'groupPolicyId';

    controller.getNetworkGroupPolicy(input, function(error, response, context) {

    
    });

Method: updateNetworkGroupPolicy

Update a group policy

function updateNetworkGroupPolicy(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
groupPolicyIdRequiredTODO: Add a parameter description
updateNetworkGroupPolicyOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['groupPolicyId'] = 'groupPolicyId';
        input['updateNetworkGroupPolicy'] = new UpdateNetworkGroupPolicyModel({"key":"value"});

    controller.updateNetworkGroupPolicy(input, function(error, response, context) {

    
    });

Method: deleteNetworkGroupPolicy

Delete a group policy

function deleteNetworkGroupPolicy(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
groupPolicyIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['groupPolicyId'] = 'groupPolicyId';

    controller.deleteNetworkGroupPolicy(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: HTTPServersController

Get singleton instance

The singleton instance of the HTTPServersController class can be accessed from the API Client.

var controller = lib.HTTPServersController;

Method: getNetworkHttpServers

List the HTTP servers for a network

function getNetworkHttpServers(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkHttpServers(networkId, function(error, response, context) {

    
    });

Method: createNetworkHttpServer

Add an HTTP server to a network

function createNetworkHttpServer(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkHttpServerRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkHttpServer'] = new CreateNetworkHttpServerModel({"key":"value"});

    controller.createNetworkHttpServer(input, function(error, response, context) {

    
    });

Method: createNetworkHttpServersWebhookTest

Send a test webhook for a network

function createNetworkHttpServersWebhookTest(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkHttpServersWebhookTestRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkHttpServersWebhookTest'] = new CreateNetworkHttpServersWebhookTestModel({"key":"value"});

    controller.createNetworkHttpServersWebhookTest(input, function(error, response, context) {

    
    });

Method: getNetworkHttpServersWebhookTest

Return the status of a webhook test for a network

function getNetworkHttpServersWebhookTest(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['id'] = 'id';

    controller.getNetworkHttpServersWebhookTest(input, function(error, response, context) {

    
    });

Method: getNetworkHttpServer

Return an HTTP server for a network

function getNetworkHttpServer(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['id'] = 'id';

    controller.getNetworkHttpServer(input, function(error, response, context) {

    
    });

Method: updateNetworkHttpServer

Update an HTTP server

function updateNetworkHttpServer(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description
updateNetworkHttpServerOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['id'] = 'id';
        input['updateNetworkHttpServer'] = new UpdateNetworkHttpServerModel({"key":"value"});

    controller.updateNetworkHttpServer(input, function(error, response, context) {

    
    });

Method: deleteNetworkHttpServer

Delete an HTTP server from a network

function deleteNetworkHttpServer(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['id'] = 'id';

    controller.deleteNetworkHttpServer(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: IntrusionSettingsController

Get singleton instance

The singleton instance of the IntrusionSettingsController class can be accessed from the API Client.

var controller = lib.IntrusionSettingsController;

Method: getNetworkSecurityIntrusionSettings

Returns all supported intrusion settings for an MX network

function getNetworkSecurityIntrusionSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSecurityIntrusionSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSecurityIntrusionSettings

Set the supported intrusion settings for an MX network

function updateNetworkSecurityIntrusionSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSecurityIntrusionSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSecurityIntrusionSettings'] = new UpdateNetworkSecurityIntrusionSettingsModel({"key":"value"});

    controller.updateNetworkSecurityIntrusionSettings(input, function(error, response, context) {

    
    });

Method: getOrganizationSecurityIntrusionSettings

Returns all supported intrusion settings for an organization

function getOrganizationSecurityIntrusionSettings(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationSecurityIntrusionSettings(organizationId, function(error, response, context) {

    
    });

Method: updateOrganizationSecurityIntrusionSettings

Sets supported intrusion settings for an organization

function updateOrganizationSecurityIntrusionSettings(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
updateOrganizationSecurityIntrusionSettingsRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganizationSecurityIntrusionSettings'] = new UpdateOrganizationSecurityIntrusionSettingsModel({"key":"value"});

    controller.updateOrganizationSecurityIntrusionSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MRL3FirewallController

Get singleton instance

The singleton instance of the MRL3FirewallController class can be accessed from the API Client.

var controller = lib.MRL3FirewallController;

Method: getNetworkSsidL3FirewallRules

Return the L3 firewall rules for an SSID on an MR network

function getNetworkSsidL3FirewallRules(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';

    controller.getNetworkSsidL3FirewallRules(input, function(error, response, context) {

    
    });

Method: updateNetworkSsidL3FirewallRules

Update the L3 firewall rules of an SSID on an MR network

function updateNetworkSsidL3FirewallRules(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description
updateNetworkSsidL3FirewallRulesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';
        input['updateNetworkSsidL3FirewallRules'] = new UpdateNetworkSsidL3FirewallRulesModel({"key":"value"});

    controller.updateNetworkSsidL3FirewallRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MVSenseController

Get singleton instance

The singleton instance of the MVSenseController class can be accessed from the API Client.

var controller = lib.MVSenseController;

Method: getDeviceCameraAnalyticsLive

Returns live state from camera of analytics zones

function getDeviceCameraAnalyticsLive(serial, callback)

Parameters

ParameterTagsDescription
serialRequiredTODO: Add a parameter description

Example Usage


    var serial = 'serial';

    controller.getDeviceCameraAnalyticsLive(serial, function(error, response, context) {

    
    });

Method: getDeviceCameraAnalyticsOverview

Returns an overview of aggregate analytics data for a timespan

function getDeviceCameraAnalyticsOverview(input, callback)

Parameters

ParameterTagsDescription
serialRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 1 hour.
objectTypeOptional[optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle].

Example Usage


    var input = [];
        input['serial'] = 'serial';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 126.122157774457;
        input['objectType'] = Object.keys(objectType)[0];

    controller.getDeviceCameraAnalyticsOverview(input, function(error, response, context) {

    
    });

Method: getDeviceCameraAnalyticsRecent

Returns most recent record for analytics zones

function getDeviceCameraAnalyticsRecent(input, callback)

Parameters

ParameterTagsDescription
serialRequiredTODO: Add a parameter description
objectTypeOptional[optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle].

Example Usage


    var input = [];
        input['serial'] = 'serial';
        input['objectType'] = Object.keys(objectType)[0];

    controller.getDeviceCameraAnalyticsRecent(input, function(error, response, context) {

    
    });

Method: getDeviceCameraAnalyticsZones

Returns all configured analytic zones for this camera

function getDeviceCameraAnalyticsZones(serial, callback)

Parameters

ParameterTagsDescription
serialRequiredTODO: Add a parameter description

Example Usage


    var serial = 'serial';

    controller.getDeviceCameraAnalyticsZones(serial, function(error, response, context) {

    
    });

Method: getDeviceCameraAnalyticsZoneHistory

Return historical records for analytic zones

function getDeviceCameraAnalyticsZoneHistory(input, callback)

Parameters

ParameterTagsDescription
serialRequiredTODO: Add a parameter description
zoneIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 14 hours after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 hours. The default is 1 hour.
resolutionOptionalThe time resolution in seconds for returned data. The valid resolutions are: 60. The default is 60.
objectTypeOptional[optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle].

Example Usage


    var input = [];
        input['serial'] = 'serial';
        input['zoneId'] = 'zoneId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 126.122157774457;
        input['resolution'] = 126;
        input['objectType'] = Object.keys(objectType)[0];

    controller.getDeviceCameraAnalyticsZoneHistory(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MX11NATRulesController

Get singleton instance

The singleton instance of the MX11NATRulesController class can be accessed from the API Client.

var controller = lib.MX11NATRulesController;

Method: getNetworkOneToOneNatRules

Return the 1:1 NAT mapping rules for an MX network

function getNetworkOneToOneNatRules(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkOneToOneNatRules(networkId, function(error, response, context) {

    
    });

Method: updateNetworkOneToOneNatRules

Set the 1:1 NAT mapping rules for an MX network

function updateNetworkOneToOneNatRules(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkOneToOneNatRulesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkOneToOneNatRules'] = new UpdateNetworkOneToOneNatRulesModel({"key":"value"});

    controller.updateNetworkOneToOneNatRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MX1ManyNATRulesController

Get singleton instance

The singleton instance of the MX1ManyNATRulesController class can be accessed from the API Client.

var controller = lib.MX1ManyNATRulesController;

Method: getNetworkOneToManyNatRules

Return the 1:Many NAT mapping rules for an MX network

function getNetworkOneToManyNatRules(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkOneToManyNatRules(networkId, function(error, response, context) {

    
    });

Method: updateNetworkOneToManyNatRules

Set the 1:Many NAT mapping rules for an MX network

function updateNetworkOneToManyNatRules(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkOneToManyNatRulesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkOneToManyNatRules'] = new UpdateNetworkOneToManyNatRulesModel({"key":"value"});

    controller.updateNetworkOneToManyNatRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXL3FirewallController

Get singleton instance

The singleton instance of the MXL3FirewallController class can be accessed from the API Client.

var controller = lib.MXL3FirewallController;

Method: getNetworkL3FirewallRules

Return the L3 firewall rules for an MX network

function getNetworkL3FirewallRules(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkL3FirewallRules(networkId, function(error, response, context) {

    
    });

Method: updateNetworkL3FirewallRules

Update the L3 firewall rules of an MX network

function updateNetworkL3FirewallRules(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkL3FirewallRulesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkL3FirewallRules'] = new UpdateNetworkL3FirewallRulesModel({"key":"value"});

    controller.updateNetworkL3FirewallRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXL7ApplicationCategoriesController

Get singleton instance

The singleton instance of the MXL7ApplicationCategoriesController class can be accessed from the API Client.

var controller = lib.MXL7ApplicationCategoriesController;

Method: getNetworkL7FirewallRulesApplicationCategories

Return the L7 firewall application categories and their associated applications for an MX network

function getNetworkL7FirewallRulesApplicationCategories(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkL7FirewallRulesApplicationCategories(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXL7FirewallController

Get singleton instance

The singleton instance of the MXL7FirewallController class can be accessed from the API Client.

var controller = lib.MXL7FirewallController;

Method: getNetworkL7FirewallRules

List the MX L7 firewall rules for an MX network

function getNetworkL7FirewallRules(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkL7FirewallRules(networkId, function(error, response, context) {

    
    });

Method: updateNetworkL7FirewallRules

Update the MX L7 firewall rules for an MX network

function updateNetworkL7FirewallRules(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkL7FirewallRulesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkL7FirewallRules'] = new UpdateNetworkL7FirewallRulesModel({"key":"value"});

    controller.updateNetworkL7FirewallRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXVLANPortsController

Get singleton instance

The singleton instance of the MXVLANPortsController class can be accessed from the API Client.

var controller = lib.MXVLANPortsController;

Method: getNetworkAppliancePorts

List per-port VLAN settings for all ports of a MX.

function getNetworkAppliancePorts(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkAppliancePorts(networkId, function(error, response, context) {

    
    });

Method: getNetworkAppliancePort

Return per-port VLAN settings for a single MX port.

function getNetworkAppliancePort(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
appliancePortIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['appliancePortId'] = 'appliancePortId';

    controller.getNetworkAppliancePort(input, function(error, response, context) {

    
    });

Method: updateNetworkAppliancePort

Update the per-port VLAN settings for a single MX port.

function updateNetworkAppliancePort(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
appliancePortIdRequiredTODO: Add a parameter description
updateNetworkAppliancePortOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['appliancePortId'] = 'appliancePortId';
        input['updateNetworkAppliancePort'] = new UpdateNetworkAppliancePortModel({"key":"value"});

    controller.updateNetworkAppliancePort(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXVPNFirewallController

Get singleton instance

The singleton instance of the MXVPNFirewallController class can be accessed from the API Client.

var controller = lib.MXVPNFirewallController;

Method: getOrganizationVpnFirewallRules

Return the firewall rules for an organization's site-to-site VPN

function getOrganizationVpnFirewallRules(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationVpnFirewallRules(organizationId, function(error, response, context) {

    
    });

Method: updateOrganizationVpnFirewallRules

Update the firewall rules of an organization's site-to-site VPN

function updateOrganizationVpnFirewallRules(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
updateOrganizationVpnFirewallRulesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganizationVpnFirewallRules'] = new UpdateOrganizationVpnFirewallRulesModel({"key":"value"});

    controller.updateOrganizationVpnFirewallRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXCellularFirewallController

Get singleton instance

The singleton instance of the MXCellularFirewallController class can be accessed from the API Client.

var controller = lib.MXCellularFirewallController;

Method: getNetworkCellularFirewallRules

Return the cellular firewall rules for an MX network

function getNetworkCellularFirewallRules(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkCellularFirewallRules(networkId, function(error, response, context) {

    
    });

Method: updateNetworkCellularFirewallRules

Update the cellular firewall rules of an MX network

function updateNetworkCellularFirewallRules(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkCellularFirewallRulesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkCellularFirewallRules'] = new UpdateNetworkCellularFirewallRulesModel({"key":"value"});

    controller.updateNetworkCellularFirewallRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXPortForwardingRulesController

Get singleton instance

The singleton instance of the MXPortForwardingRulesController class can be accessed from the API Client.

var controller = lib.MXPortForwardingRulesController;

Method: getNetworkPortForwardingRules

Return the port forwarding rules for an MX network

function getNetworkPortForwardingRules(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkPortForwardingRules(networkId, function(error, response, context) {

    
    });

Method: updateNetworkPortForwardingRules

Update the port forwarding rules for an MX network

function updateNetworkPortForwardingRules(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkPortForwardingRulesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkPortForwardingRules'] = new UpdateNetworkPortForwardingRulesModel({"key":"value"});

    controller.updateNetworkPortForwardingRules(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXStaticRoutesController

Get singleton instance

The singleton instance of the MXStaticRoutesController class can be accessed from the API Client.

var controller = lib.MXStaticRoutesController;

Method: getNetworkStaticRoutes

List the static routes for an MX or teleworker network

function getNetworkStaticRoutes(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkStaticRoutes(networkId, function(error, response, context) {

    
    });

Method: createNetworkStaticRoute

Add a static route for an MX or teleworker network

function createNetworkStaticRoute(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkStaticRouteOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkStaticRoute'] = new CreateNetworkStaticRouteModel({"key":"value"});

    controller.createNetworkStaticRoute(input, function(error, response, context) {

    
    });

Method: getNetworkStaticRoute

Return a static route for an MX or teleworker network

function getNetworkStaticRoute(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
srIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['srId'] = 'srId';

    controller.getNetworkStaticRoute(input, function(error, response, context) {

    
    });

Method: updateNetworkStaticRoute

Update a static route for an MX or teleworker network

function updateNetworkStaticRoute(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
srIdRequiredTODO: Add a parameter description
updateNetworkStaticRouteOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['srId'] = 'srId';
        input['updateNetworkStaticRoute'] = new UpdateNetworkStaticRouteModel({"key":"value"});

    controller.updateNetworkStaticRoute(input, function(error, response, context) {

    
    });

Method: deleteNetworkStaticRoute

Delete a static route from an MX or teleworker network

function deleteNetworkStaticRoute(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
srIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['srId'] = 'srId';

    controller.deleteNetworkStaticRoute(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MXWarmSpareSettingsController

Get singleton instance

The singleton instance of the MXWarmSpareSettingsController class can be accessed from the API Client.

var controller = lib.MXWarmSpareSettingsController;

Method: swapNetworkWarmspare

Swap MX primary and warm spare appliances

function swapNetworkWarmspare(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.swapNetworkWarmspare(networkId, function(error, response, context) {

    
    });

Method: getNetworkWarmSpareSettings

Return MX warm spare settings

function getNetworkWarmSpareSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkWarmSpareSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkWarmSpareSettings

Update MX warm spare settings

function updateNetworkWarmSpareSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkWarmSpareSettingsRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkWarmSpareSettings'] = new UpdateNetworkWarmSpareSettingsModel({"key":"value"});

    controller.updateNetworkWarmSpareSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MalwareSettingsController

Get singleton instance

The singleton instance of the MalwareSettingsController class can be accessed from the API Client.

var controller = lib.MalwareSettingsController;

Method: getNetworkSecurityMalwareSettings

Returns all supported malware settings for an MX network

function getNetworkSecurityMalwareSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSecurityMalwareSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSecurityMalwareSettings

Set the supported malware settings for an MX network

function updateNetworkSecurityMalwareSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSecurityMalwareSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSecurityMalwareSettings'] = new UpdateNetworkSecurityMalwareSettingsModel({"key":"value"});

    controller.updateNetworkSecurityMalwareSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: ManagementInterfaceSettingsController

Get singleton instance

The singleton instance of the ManagementInterfaceSettingsController class can be accessed from the API Client.

var controller = lib.ManagementInterfaceSettingsController;

Method: getNetworkDeviceManagementInterfaceSettings

Return the management interface settings for a device

function getNetworkDeviceManagementInterfaceSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDeviceManagementInterfaceSettings(input, function(error, response, context) {

    
    });

Method: updateNetworkDeviceManagementInterfaceSettings

Update the management interface settings for a device

function updateNetworkDeviceManagementInterfaceSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
updateNetworkDeviceManagementInterfaceSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['updateNetworkDeviceManagementInterfaceSettings'] = new UpdateNetworkDeviceManagementInterfaceSettingsModel({"key":"value"});

    controller.updateNetworkDeviceManagementInterfaceSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: MerakiAuthUsersController

Get singleton instance

The singleton instance of the MerakiAuthUsersController class can be accessed from the API Client.

var controller = lib.MerakiAuthUsersController;

Method: getNetworkMerakiAuthUsers

List the splash or RADIUS users configured under Meraki Authentication for a network

function getNetworkMerakiAuthUsers(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkMerakiAuthUsers(networkId, function(error, response, context) {

    
    });

Method: getNetworkMerakiAuthUser

Return the Meraki Auth splash or RADIUS user

function getNetworkMerakiAuthUser(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
merakiAuthUserIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['merakiAuthUserId'] = 'merakiAuthUserId';

    controller.getNetworkMerakiAuthUser(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: NamedTagScopeController

Get singleton instance

The singleton instance of the NamedTagScopeController class can be accessed from the API Client.

var controller = lib.NamedTagScopeController;

Method: getNetworkSmTargetGroups

List the target groups in this network

function getNetworkSmTargetGroups(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
withDetailsOptionalBoolean indicating if the the ids of the devices or users scoped by the target group should be included in the response

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['withDetails'] = false;

    controller.getNetworkSmTargetGroups(input, function(error, response, context) {

    
    });

Method: createNetworkSmTargetGroup

Add a target group

function createNetworkSmTargetGroup(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkSmTargetGroupOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSmTargetGroup'] = new CreateNetworkSmTargetGroupModel({"key":"value"});

    controller.createNetworkSmTargetGroup(input, function(error, response, context) {

    
    });

Method: getNetworkSmTargetGroup

Return a target group

function getNetworkSmTargetGroup(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
targetGroupIdRequiredTODO: Add a parameter description
withDetailsOptionalBoolean indicating if the the ids of the devices or users scoped by the target group should be included in the response

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['targetGroupId'] = 'targetGroupId';
        input['withDetails'] = false;

    controller.getNetworkSmTargetGroup(input, function(error, response, context) {

    
    });

Method: updateNetworkSmTargetGroup

Update a target group

function updateNetworkSmTargetGroup(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
targetGroupIdRequiredTODO: Add a parameter description
updateNetworkSmTargetGroupOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['targetGroupId'] = 'targetGroupId';
        input['updateNetworkSmTargetGroup'] = new UpdateNetworkSmTargetGroupModel({"key":"value"});

    controller.updateNetworkSmTargetGroup(input, function(error, response, context) {

    
    });

Method: deleteNetworkSmTargetGroup

Delete a target group from a network

function deleteNetworkSmTargetGroup(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
targetGroupIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['targetGroupId'] = 'targetGroupId';

    controller.deleteNetworkSmTargetGroup(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: NetflowSettingsController

Get singleton instance

The singleton instance of the NetflowSettingsController class can be accessed from the API Client.

var controller = lib.NetflowSettingsController;

Method: getNetwork_netflow_Settings

Return the NetFlow traffic reporting settings for a network

function getNetwork_netflow_Settings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetwork_netflow_Settings(networkId, function(error, response, context) {

    
    });

Method: updateNetwork_netflow_Settings

Update the NetFlow traffic reporting settings for a network

function updateNetwork_netflow_Settings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetwork_netflow_SettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetwork_netflow_Settings'] = new UpdateNetworkNetflowSettingsModel({"key":"value"});

    controller.updateNetwork_netflow_Settings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: NetworksController

Get singleton instance

The singleton instance of the NetworksController class can be accessed from the API Client.

var controller = lib.NetworksController;

Method: getNetwork

Return a network

function getNetwork(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetwork(networkId, function(error, response, context) {

    
    });

Method: updateNetwork

Update a network

function updateNetwork(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetwork'] = new UpdateNetworkModel({"key":"value"});

    controller.updateNetwork(input, function(error, response, context) {

    
    });

Method: deleteNetwork

Delete a network

function deleteNetwork(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.deleteNetwork(networkId, function(error, response, context) {

    
    });

Method: getNetworkAccessPolicies

List the access policies for this network. Only valid for MS networks.

function getNetworkAccessPolicies(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkAccessPolicies(networkId, function(error, response, context) {

    
    });

Method: getNetworkAirMarshal

List Air Marshal scan results from a network

function getNetworkAirMarshal(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 31 days from today.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 7 days.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['timespan'] = 126.122157774457;

    controller.getNetworkAirMarshal(input, function(error, response, context) {

    
    });

Method: bindNetwork

Bind a network to a template.

function bindNetwork(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
bindNetworkRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['bindNetwork'] = new BindNetworkModel({"key":"value"});

    controller.bindNetwork(input, function(error, response, context) {

    
    });

Method: getNetworkBluetoothSettings

Return the Bluetooth settings for a network. Bluetooth settings must be enabled on the network.

function getNetworkBluetoothSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkBluetoothSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkBluetoothSettings

Update the Bluetooth settings for a network. See the docs page for Bluetooth settings.

function updateNetworkBluetoothSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkBluetoothSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkBluetoothSettings'] = new UpdateNetworkBluetoothSettingsModel({"key":"value"});

    controller.updateNetworkBluetoothSettings(input, function(error, response, context) {

    
    });

Method: getNetworkSiteToSiteVpn

Return the site-to-site VPN settings of a network. Only valid for MX networks.

function getNetworkSiteToSiteVpn(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSiteToSiteVpn(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSiteToSiteVpn

Update the site-to-site VPN settings of a network. Only valid for MX networks in NAT mode.

function updateNetworkSiteToSiteVpn(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSiteToSiteVpnRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSiteToSiteVpn'] = new UpdateNetworkSiteToSiteVpnModel({"key":"value"});

    controller.updateNetworkSiteToSiteVpn(input, function(error, response, context) {

    
    });

Method: splitNetwork

Split a combined network into individual networks for each type of device

function splitNetwork(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.splitNetwork(networkId, function(error, response, context) {

    
    });

Method: getNetworkTraffic

The traffic analysis data for this network.
<a href="https://documentation.meraki.com/MR/Monitoring_and_Reporting/Hostname_Visibility">Traffic Analysis with Hostname Visibility</a> must be enabled on the network.
function getNetworkTraffic(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 30 days from today.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 30 days.
deviceTypeOptionalFilter the data by device type: combined (default), wireless, switch, appliance.
When using combined, for each rule the data will come from the device type with the most usage. |

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['timespan'] = 126.122157774457;
        input['deviceType'] = 'deviceType';

    controller.getNetworkTraffic(input, function(error, response, context) {

    
    });

Method: unbindNetwork

Unbind a network from a template.

function unbindNetwork(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.unbindNetwork(networkId, function(error, response, context) {

    
    });

Method: getOrganizationNetworks

List the networks in an organization

function getOrganizationNetworks(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
configTemplateIdOptionalAn optional parameter that is the ID of a config template. Will return all networks bound to that template.

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['configTemplateId'] = 'configTemplateId';

    controller.getOrganizationNetworks(input, function(error, response, context) {

    
    });

Method: createOrganizationNetwork

Create a network

function createOrganizationNetwork(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
createOrganizationNetworkRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['createOrganizationNetwork'] = new CreateOrganizationNetworkModel({"key":"value"});

    controller.createOrganizationNetwork(input, function(error, response, context) {

    
    });

Method: combineOrganizationNetworks

Combine multiple networks into a single network

function combineOrganizationNetworks(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
combineOrganizationNetworksRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['combineOrganizationNetworks'] = new CombineOrganizationNetworksModel({"key":"value"});

    controller.combineOrganizationNetworks(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: OpenAPISpecController

Get singleton instance

The singleton instance of the OpenAPISpecController class can be accessed from the API Client.

var controller = lib.OpenAPISpecController;

Method: getOrganizationOpenapiSpec

Return the OpenAPI 2.0 Specification of the organization's API documentation in JSON

function getOrganizationOpenapiSpec(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationOpenapiSpec(organizationId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: OrganizationsController

Get singleton instance

The singleton instance of the OrganizationsController class can be accessed from the API Client.

var controller = lib.OrganizationsController;

Method: getOrganizations

List the organizations that the user has privileges on

function getOrganizations(callback)

Example Usage



    controller.getOrganizations(function(error, response, context) {

    
    });

Method: createOrganization

Create a new organization

function createOrganization(createOrganization, callback)

Parameters

ParameterTagsDescription
createOrganizationRequiredTODO: Add a parameter description

Example Usage


    var createOrganization = new CreateOrganizationModel({"key":"value"});

    controller.createOrganization(createOrganization, function(error, response, context) {

    
    });

Method: getOrganization

Return an organization

function getOrganization(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganization(organizationId, function(error, response, context) {

    
    });

Method: updateOrganization

Update an organization

function updateOrganization(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
updateOrganizationOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganization'] = new UpdateOrganizationModel({"key":"value"});

    controller.updateOrganization(input, function(error, response, context) {

    
    });

Method: deleteOrganization

Delete an organization

function deleteOrganization(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.deleteOrganization(organizationId, function(error, response, context) {

    
    });

Method: claimOrganization

Claim a list of devices, licenses, and/or orders into an organization. When claiming by order, all devices and licenses in the order will be claimed; licenses will be added to the organization and devices will be placed in the organization's inventory.

function claimOrganization(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
claimOrganizationOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['claimOrganization'] = new ClaimOrganizationModel({"key":"value"});

    controller.claimOrganization(input, function(error, response, context) {

    
    });

Method: cloneOrganization

Create a new organization by cloning the addressed organization

function cloneOrganization(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
cloneOrganizationRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['cloneOrganization'] = new CloneOrganizationModel({"key":"value"});

    controller.cloneOrganization(input, function(error, response, context) {

    
    });

Method: getOrganizationDeviceStatuses

List the status of every Meraki device in the organization

function getOrganizationDeviceStatuses(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationDeviceStatuses(organizationId, function(error, response, context) {

    
    });

Method: getOrganizationInventory

Return the inventory for an organization

function getOrganizationInventory(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationInventory(organizationId, function(error, response, context) {

    
    });

Method: getOrganizationLicenseState

Return the license state for an organization

function getOrganizationLicenseState(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationLicenseState(organizationId, function(error, response, context) {

    
    });

Method: getOrganizationThirdPartyVPNPeers

Return the third party VPN peers for an organization

function getOrganizationThirdPartyVPNPeers(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationThirdPartyVPNPeers(organizationId, function(error, response, context) {

    
    });

Method: updateOrganizationThirdPartyVPNPeers

Update the third party VPN peers for an organization

function updateOrganizationThirdPartyVPNPeers(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
updateOrganizationThirdPartyVPNPeersRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganizationThirdPartyVPNPeers'] = new UpdateOrganizationThirdPartyVPNPeersModel({"key":"value"});

    controller.updateOrganizationThirdPartyVPNPeers(input, function(error, response, context) {

    
    });

Method: getOrganizationUplinksLossAndLatency

Return the uplink loss and latency for every MX in the organization from at latest 2 minutes ago

function getOrganizationUplinksLossAndLatency(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 5 minutes after t0. The latest possible time that t1 can be is 2 minutes into the past.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 5 minutes. The default is 5 minutes.
uplinkOptionalOptional filter for a specific WAN uplink. Valid uplinks are wan1, wan2, cellular. Default will return all uplinks.
ipOptionalOptional filter for a specific destination IP. Default will return all destination IPs.

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 167.845331001023;
        input['uplink'] = Object.keys(uplink)[0];
        input['ip'] = 'ip';

    controller.getOrganizationUplinksLossAndLatency(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: PIIController

Get singleton instance

The singleton instance of the PIIController class can be accessed from the API Client.

var controller = lib.PIIController;

Method: getNetworkPiiPiiKeys

List the keys required to access Personally Identifiable Information (PII) for a given identifier. Exactly one identifier will be accepted. If the organization contains org-wide Systems Manager users matching the key provided then there will be an entry with the key "0" containing the applicable keys.

ALTERNATE PATH

/organizations/{organizationId}/pii/piiKeys
function getNetworkPiiPiiKeys(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
usernameOptionalThe username of a Systems Manager user
emailOptionalThe email of a network user account or a Systems Manager device
macOptionalThe MAC of a network client device or a Systems Manager device
serialOptionalThe serial of a Systems Manager device
imeiOptionalThe IMEI of a Systems Manager device
bluetoothMacOptionalThe MAC of a Bluetooth client

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['username'] = 'username';
        input['email'] = 'email';
        input['mac'] = 'mac';
        input['serial'] = 'serial';
        input['imei'] = 'imei';
        input['bluetoothMac'] = 'bluetoothMac';

    controller.getNetworkPiiPiiKeys(input, function(error, response, context) {

    
    });

Method: getNetworkPiiRequests

List the PII requests for this network or organization

ALTERNATE PATH

/organizations/{organizationId}/pii/requests
function getNetworkPiiRequests(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkPiiRequests(networkId, function(error, response, context) {

    
    });

Method: createNetworkPiiRequest

Submit a new delete or restrict processing PII request

ALTERNATE PATH

/organizations/{organizationId}/pii/requests
function createNetworkPiiRequest(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkPiiRequestOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkPiiRequest'] = new CreateNetworkPiiRequestModel({"key":"value"});

    controller.createNetworkPiiRequest(input, function(error, response, context) {

    
    });

Method: getNetworkPiiRequest

Return a PII request

ALTERNATE PATH

/organizations/{organizationId}/pii/requests/{requestId}
function getNetworkPiiRequest(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
requestIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['requestId'] = 'requestId';

    controller.getNetworkPiiRequest(input, function(error, response, context) {

    
    });

Method: deleteNetworkPiiRequest

Delete a restrict processing PII request

ALTERNATE PATH

/organizations/{organizationId}/pii/requests/{requestId}
function deleteNetworkPiiRequest(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
requestIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['requestId'] = 'requestId';

    controller.deleteNetworkPiiRequest(input, function(error, response, context) {

    
    });

Method: getNetworkPiiSmDevicesForKey

Given a piece of Personally Identifiable Information (PII), return the Systems Manager device ID(s) associated with that identifier. These device IDs can be used with the Systems Manager API endpoints to retrieve device details. Exactly one identifier will be accepted.

ALTERNATE PATH

/organizations/{organizationId}/pii/smDevicesForKey
function getNetworkPiiSmDevicesForKey(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
usernameOptionalThe username of a Systems Manager user
emailOptionalThe email of a network user account or a Systems Manager device
macOptionalThe MAC of a network client device or a Systems Manager device
serialOptionalThe serial of a Systems Manager device
imeiOptionalThe IMEI of a Systems Manager device
bluetoothMacOptionalThe MAC of a Bluetooth client

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['username'] = 'username';
        input['email'] = 'email';
        input['mac'] = 'mac';
        input['serial'] = 'serial';
        input['imei'] = 'imei';
        input['bluetoothMac'] = 'bluetoothMac';

    controller.getNetworkPiiSmDevicesForKey(input, function(error, response, context) {

    
    });

Method: getNetworkPiiSmOwnersForKey

Given a piece of Personally Identifiable Information (PII), return the Systems Manager owner ID(s) associated with that identifier. These owner IDs can be used with the Systems Manager API endpoints to retrieve owner details. Exactly one identifier will be accepted.

ALTERNATE PATH

/organizations/{organizationId}/pii/smOwnersForKey
function getNetworkPiiSmOwnersForKey(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
usernameOptionalThe username of a Systems Manager user
emailOptionalThe email of a network user account or a Systems Manager device
macOptionalThe MAC of a network client device or a Systems Manager device
serialOptionalThe serial of a Systems Manager device
imeiOptionalThe IMEI of a Systems Manager device
bluetoothMacOptionalThe MAC of a Bluetooth client

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['username'] = 'username';
        input['email'] = 'email';
        input['mac'] = 'mac';
        input['serial'] = 'serial';
        input['imei'] = 'imei';
        input['bluetoothMac'] = 'bluetoothMac';

    controller.getNetworkPiiSmOwnersForKey(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: RadioSettingsController

Get singleton instance

The singleton instance of the RadioSettingsController class can be accessed from the API Client.

var controller = lib.RadioSettingsController;

Method: getNetworkDeviceWirelessRadioSettings

Return the radio settings of a device

function getNetworkDeviceWirelessRadioSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDeviceWirelessRadioSettings(input, function(error, response, context) {

    
    });

Method: updateNetworkDeviceWirelessRadioSettings

Update the radio settings of a device

function updateNetworkDeviceWirelessRadioSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
updateNetworkDeviceWirelessRadioSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['updateNetworkDeviceWirelessRadioSettings'] = new UpdateNetworkDeviceWirelessRadioSettingsModel({"key":"value"});

    controller.updateNetworkDeviceWirelessRadioSettings(input, function(error, response, context) {

    
    });

Method: getNetworkWirelessRfProfiles

List the non-basic RF profiles for this network

function getNetworkWirelessRfProfiles(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
includeTemplateProfilesOptionalIf the network is bound to a template, this parameter controls whether or not the non-basic RF profiles defined on the template
should be included in the response alongside the non-basic profiles defined on the bound network. Defaults to false. |

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['includeTemplateProfiles'] = true;

    controller.getNetworkWirelessRfProfiles(input, function(error, response, context) {

    
    });

Method: createNetworkWirelessRfProfile

Creates new RF profile for this network

function createNetworkWirelessRfProfile(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkWirelessRfProfileRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkWirelessRfProfile'] = new CreateNetworkWirelessRfProfileModel({"key":"value"});

    controller.createNetworkWirelessRfProfile(input, function(error, response, context) {

    
    });

Method: updateNetworkWirelessRfProfile

Updates specified RF profile for this network

function updateNetworkWirelessRfProfile(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
rfProfileIdRequiredTODO: Add a parameter description
updateNetworkWirelessRfProfileOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['rfProfileId'] = 'rfProfileId';
        input['updateNetworkWirelessRfProfile'] = new UpdateNetworkWirelessRfProfileModel({"key":"value"});

    controller.updateNetworkWirelessRfProfile(input, function(error, response, context) {

    
    });

Method: deleteNetworkWirelessRfProfile

Delete a RF Profile

function deleteNetworkWirelessRfProfile(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
rfProfileIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['rfProfileId'] = 'rfProfileId';

    controller.deleteNetworkWirelessRfProfile(input, function(error, response, context) {

    
    });

Method: getNetworkWirelessRfProfile

Return a RF profile

function getNetworkWirelessRfProfile(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
rfProfileIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['rfProfileId'] = 'rfProfileId';

    controller.getNetworkWirelessRfProfile(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SAMLRolesController

Get singleton instance

The singleton instance of the SAMLRolesController class can be accessed from the API Client.

var controller = lib.SAMLRolesController;

Method: getOrganizationSamlRoles

List the SAML roles for this organization

function getOrganizationSamlRoles(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationSamlRoles(organizationId, function(error, response, context) {

    
    });

Method: createOrganizationSamlRole

Create a SAML role

function createOrganizationSamlRole(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
createOrganizationSamlRoleOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['createOrganizationSamlRole'] = new CreateOrganizationSamlRoleModel({"key":"value"});

    controller.createOrganizationSamlRole(input, function(error, response, context) {

    
    });

Method: getOrganizationSamlRole

Return a SAML role

function getOrganizationSamlRole(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';

    controller.getOrganizationSamlRole(input, function(error, response, context) {

    
    });

Method: updateOrganizationSamlRole

Update a SAML role

function updateOrganizationSamlRole(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description
updateOrganizationSamlRoleOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';
        input['updateOrganizationSamlRole'] = new UpdateOrganizationSamlRoleModel({"key":"value"});

    controller.updateOrganizationSamlRole(input, function(error, response, context) {

    
    });

Method: deleteOrganizationSamlRole

Remove a SAML role

function deleteOrganizationSamlRole(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['id'] = 'id';

    controller.deleteOrganizationSamlRole(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SMController

Get singleton instance

The singleton instance of the SMController class can be accessed from the API Client.

var controller = lib.SMController;

Method: createNetworkSmAppPolaris

Create a new Polaris app

function createNetworkSmAppPolaris(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkSmAppPolarisRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSmAppPolaris'] = new CreateNetworkSmAppPolarisModel({"key":"value"});

    controller.createNetworkSmAppPolaris(input, function(error, response, context) {

    
    });

Method: getNetworkSmAppPolaris

Get details for a Cisco Polaris app if it exists

function getNetworkSmAppPolaris(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
bundleIdOptionalThe bundle ID of the app to be found, defaults to com.cisco.ciscosecurity.app

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['bundleId'] = 'bundleId';

    controller.getNetworkSmAppPolaris(input, function(error, response, context) {

    
    });

Method: updateNetworkSmAppPolaris

Update an existing Polaris app

function updateNetworkSmAppPolaris(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
appIdRequiredTODO: Add a parameter description
updateNetworkSmAppPolarisOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['appId'] = 'appId';
        input['updateNetworkSmAppPolaris'] = new UpdateNetworkSmAppPolarisModel({"key":"value"});

    controller.updateNetworkSmAppPolaris(input, function(error, response, context) {

    
    });

Method: deleteNetworkSmAppPolaris

Delete a Cisco Polaris app

function deleteNetworkSmAppPolaris(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
appIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['appId'] = 'appId';

    controller.deleteNetworkSmAppPolaris(input, function(error, response, context) {

    
    });

Method: createNetworkSmBypassActivationLockAttempt

Bypass activation lock attempt

function createNetworkSmBypassActivationLockAttempt(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkSmBypassActivationLockAttemptRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSmBypassActivationLockAttempt'] = new CreateNetworkSmBypassActivationLockAttemptModel({"key":"value"});

    controller.createNetworkSmBypassActivationLockAttempt(input, function(error, response, context) {

    
    });

Method: getNetworkSmBypassActivationLockAttempt

Bypass activation lock attempt status

function getNetworkSmBypassActivationLockAttempt(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
attemptIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['attemptId'] = 'attemptId';

    controller.getNetworkSmBypassActivationLockAttempt(input, function(error, response, context) {

    
    });

Method: updateNetworkSmDeviceFields

Modify the fields of a device

function updateNetworkSmDeviceFields(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSmDeviceFieldsRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSmDeviceFields'] = new UpdateNetworkSmDeviceFieldsModel({"key":"value"});

    controller.updateNetworkSmDeviceFields(input, function(error, response, context) {

    
    });

Method: wipeNetworkSmDevice

Wipe a device

function wipeNetworkSmDevice(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
wipeNetworkSmDeviceOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['wipeNetworkSmDevice'] = new WipeNetworkSmDeviceModel({"key":"value"});

    controller.wipeNetworkSmDevice(input, function(error, response, context) {

    
    });

Method: refreshNetworkSmDeviceDetails

Refresh the details of a device

function refreshNetworkSmDeviceDetails(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.refreshNetworkSmDeviceDetails(input, function(error, response, context) {

    
    });

Method: getNetworkSmDevices

List the devices enrolled in an SM network with various specified fields and filters

function getNetworkSmDevices(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
fieldsOptionalAdditional fields that will be displayed for each device. Multiple fields can be passed in as comma separated values.
The default fields are: id, name, tags, ssid, wifiMac, osName, systemModel, uuid, and serialNumber. The additional fields are: ip,
systemType, availableDeviceCapacity, kioskAppName, biosVersion, lastConnected, missingAppsCount, userSuppliedAddress, location, lastUser,
ownerEmail, ownerUsername, publicIp, phoneNumber, diskInfoJson, deviceCapacity, isManaged, hadMdm, isSupervised, meid, imei, iccid,
simCarrierNetwork, cellularDataUsed, isHotspotEnabled, createdAt, batteryEstCharge, quarantined, avName, avRunning, asName, fwName,
isRooted, loginRequired, screenLockEnabled, screenLockDelay, autoLoginDisabled, autoTags, hasMdm, hasDesktopAgent, diskEncryptionEnabled,
hardwareEncryptionCaps, passCodeLock, usesHardwareKeystore, and androidSecurityPatchVersion. |

| wifiMacs | Optional | Filter devices by wifi mac(s). Multiple wifi macs can be passed in as comma separated values. | | serials | Optional | Filter devices by serial(s). Multiple serials can be passed in as comma separated values. | | ids | Optional | Filter devices by id(s). Multiple ids can be passed in as comma separated values. | | scope | Optional | Specify a scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags as comma separated values. | | batchSize | Optional | Number of devices to return, 1000 is the default as well as the max. | | batchToken | Optional | If the network has more devices than the batch size, a batch token will be returned as a part of the device list. To see the remainder of the devices, pass in the batchToken as a parameter in the next request. Requests made with the batchToken do not require additional parameters as the batchToken includes the parameters passed in with the original request. Additional parameters passed in with the batchToken will be ignored. |

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['fields'] = 'fields';
        input['wifiMacs'] = 'wifiMacs';
        input['serials'] = 'serials';
        input['ids'] = 'ids';
        input['scope'] = 'scope';
        input['batchSize'] = 167;
        input['batchToken'] = 'batchToken';

    controller.getNetworkSmDevices(input, function(error, response, context) {

    
    });

Method: checkinNetworkSmDevices

Force check-in a set of devices

function checkinNetworkSmDevices(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
checkinNetworkSmDevicesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['checkinNetworkSmDevices'] = new CheckinNetworkSmDevicesModel({"key":"value"});

    controller.checkinNetworkSmDevices(input, function(error, response, context) {

    
    });

Method: moveNetworkSmDevices

Move a set of devices to a new network

function moveNetworkSmDevices(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
moveNetworkSmDevicesRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['moveNetworkSmDevices'] = new MoveNetworkSmDevicesModel({"key":"value"});

    controller.moveNetworkSmDevices(input, function(error, response, context) {

    
    });

Method: updateNetworkSmDevicesTags

Add, delete, or update the tags of a set of devices

function updateNetworkSmDevicesTags(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSmDevicesTagsRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSmDevicesTags'] = new UpdateNetworkSmDevicesTagsModel({"key":"value"});

    controller.updateNetworkSmDevicesTags(input, function(error, response, context) {

    
    });

Method: unenrollNetworkSmDevice

Unenroll a device

function unenrollNetworkSmDevice(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.unenrollNetworkSmDevice(input, function(error, response, context) {

    
    });

Method: createNetworkSmProfileClarity

Create a new profile containing a Cisco Clarity payload

function createNetworkSmProfileClarity(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkSmProfileClarityRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSmProfileClarity'] = new CreateNetworkSmProfileClarityModel({"key":"value"});

    controller.createNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: updateNetworkSmProfileClarity

Update an existing profile containing a Cisco Clarity payload

function updateNetworkSmProfileClarity(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
profileIdRequiredTODO: Add a parameter description
updateNetworkSmProfileClarityOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['profileId'] = 'profileId';
        input['updateNetworkSmProfileClarity'] = new UpdateNetworkSmProfileClarityModel({"key":"value"});

    controller.updateNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: addNetworkSmProfileClarity

Add a Cisco Clarity payload to an existing profile

function addNetworkSmProfileClarity(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
profileIdRequiredTODO: Add a parameter description
addNetworkSmProfileClarityRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['profileId'] = 'profileId';
        input['addNetworkSmProfileClarity'] = new AddNetworkSmProfileClarityModel({"key":"value"});

    controller.addNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: getNetworkSmProfileClarity

Get details for a Cisco Clarity payload

function getNetworkSmProfileClarity(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
profileIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['profileId'] = 'profileId';

    controller.getNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: deleteNetworkSmProfileClarity

Delete a Cisco Clarity payload. Deletes the entire profile if it's empty after removing the payload.

function deleteNetworkSmProfileClarity(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
profileIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['profileId'] = 'profileId';

    controller.deleteNetworkSmProfileClarity(input, function(error, response, context) {

    
    });

Method: createNetworkSmProfileUmbrella

Create a new profile containing a Cisco Umbrella payload

function createNetworkSmProfileUmbrella(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkSmProfileUmbrellaRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSmProfileUmbrella'] = new CreateNetworkSmProfileUmbrellaModel({"key":"value"});

    controller.createNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: updateNetworkSmProfileUmbrella

Update an existing profile containing a Cisco Umbrella payload

function updateNetworkSmProfileUmbrella(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
profileIdRequiredTODO: Add a parameter description
updateNetworkSmProfileUmbrellaOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['profileId'] = 'profileId';
        input['updateNetworkSmProfileUmbrella'] = new UpdateNetworkSmProfileUmbrellaModel({"key":"value"});

    controller.updateNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: addNetworkSmProfileUmbrella

Add a Cisco Umbrella payload to an existing profile

function addNetworkSmProfileUmbrella(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
profileIdRequiredTODO: Add a parameter description
addNetworkSmProfileUmbrellaRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['profileId'] = 'profileId';
        input['addNetworkSmProfileUmbrella'] = new AddNetworkSmProfileUmbrellaModel({"key":"value"});

    controller.addNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: getNetworkSmProfileUmbrella

Get details for a Cisco Umbrella payload

function getNetworkSmProfileUmbrella(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
profileIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['profileId'] = 'profileId';

    controller.getNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: deleteNetworkSmProfileUmbrella

Delete a Cisco Umbrella payload. Deletes the entire profile if it's empty after removing the payload

function deleteNetworkSmProfileUmbrella(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
profileIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['profileId'] = 'profileId';

    controller.deleteNetworkSmProfileUmbrella(input, function(error, response, context) {

    
    });

Method: getNetworkSmProfiles

List all the profiles in the network

function getNetworkSmProfiles(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSmProfiles(networkId, function(error, response, context) {

    
    });

Method: getNetworkSmUserDeviceProfiles

Get the profiles associated with a user

function getNetworkSmUserDeviceProfiles(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
userIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['userId'] = 'userId';

    controller.getNetworkSmUserDeviceProfiles(input, function(error, response, context) {

    
    });

Method: getNetworkSmUserSoftwares

Get a list of softwares associated with a user

function getNetworkSmUserSoftwares(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
userIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['userId'] = 'userId';

    controller.getNetworkSmUserSoftwares(input, function(error, response, context) {

    
    });

Method: getNetworkSmUsers

List the owners in an SM network with various specified fields and filters

function getNetworkSmUsers(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
idsOptionalFilter users by id(s). Multiple ids can be passed in as comma separated values.
usernamesOptionalFilter users by username(s). Multiple usernames can be passed in as comma separated values.
emailsOptionalFilter users by email(s). Multiple emails can be passed in as comma separated values.
scopeOptionalSpecifiy a scope (one of all, none, withAny, withAll, withoutAny, withoutAll) and a set of tags as comma separated values.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['ids'] = 'ids';
        input['usernames'] = 'usernames';
        input['emails'] = 'emails';
        input['scope'] = 'scope';

    controller.getNetworkSmUsers(input, function(error, response, context) {

    
    });

Method: getNetworkSmCellularUsageHistory

Return the client's daily cellular data usage history. Usage data is in kilobytes.

function getNetworkSmCellularUsageHistory(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmCellularUsageHistory(input, function(error, response, context) {

    
    });

Method: getNetworkSmCerts

List the certs on a device

function getNetworkSmCerts(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmCerts(input, function(error, response, context) {

    
    });

Method: getNetworkSmDeviceProfiles

Get the profiles associated with a device

function getNetworkSmDeviceProfiles(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmDeviceProfiles(input, function(error, response, context) {

    
    });

Method: getNetworkSmNetworkAdapters

List the network adapters of a device

function getNetworkSmNetworkAdapters(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmNetworkAdapters(input, function(error, response, context) {

    
    });

Method: getNetworkSmRestrictions

List the restrictions on a device

function getNetworkSmRestrictions(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmRestrictions(input, function(error, response, context) {

    
    });

Method: getNetworkSmSecurityCenters

List the security centers on a device

function getNetworkSmSecurityCenters(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmSecurityCenters(input, function(error, response, context) {

    
    });

Method: getNetworkSmSoftwares

Get a list of softwares associated with a device

function getNetworkSmSoftwares(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmSoftwares(input, function(error, response, context) {

    
    });

Method: getNetworkSmWlanLists

List the saved SSID names on a device

function getNetworkSmWlanLists(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
deviceIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['deviceId'] = 'deviceId';

    controller.getNetworkSmWlanLists(input, function(error, response, context) {

    
    });

Method: lockNetworkSmDevices

Lock a set of devices

function lockNetworkSmDevices(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
lockNetworkSmDevicesOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = network_id;
        input['lockNetworkSmDevices'] = new LockNetworkSmDevicesModel({"key":"value"});

    controller.lockNetworkSmDevices(input, function(error, response, context) {

    
    });

Method: getNetworkSmConnectivity

Returns historical connectivity data (whether a device is regularly checking in to Dashboard).

function getNetworkSmConnectivity(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description
perPageOptionalThe number of entries per page returned
startingAfterOptionalA 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, next or prev page in the HTTP Link header should define it.
endingBeforeOptionalA 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, next or prev page in the HTTP Link header should define it.

Example Usage


    var input = [];
        input['networkId'] = network_id;
        input['id'] = 'id';
        input['perPage'] = 'perPage';
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSmConnectivity(input, function(error, response, context) {

    
    });

Method: getNetworkSmDesktopLogs

Return historical records of various Systems Manager network connection details for desktop devices.

function getNetworkSmDesktopLogs(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description
perPageOptionalThe number of entries per page returned
startingAfterOptionalA 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, next or prev page in the HTTP Link header should define it.
endingBeforeOptionalA 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, next or prev page in the HTTP Link header should define it.

Example Usage


    var input = [];
        input['networkId'] = network_id;
        input['id'] = 'id';
        input['perPage'] = 'perPage';
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSmDesktopLogs(input, function(error, response, context) {

    
    });

Method: getNetworkSmDeviceCommandLogs

Return historical records of commands sent to Systems Manager devices.
<p>Note that this will include the name of the Dashboard user who initiated the command if it was generated
by a Dashboard admin rather than the automatic behavior of the system; you may wish to filter this out
of any reports.</p>
function getNetworkSmDeviceCommandLogs(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description
perPageOptionalThe number of entries per page returned
startingAfterOptionalA 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, next or prev page in the HTTP Link header should define it.
endingBeforeOptionalA 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, next or prev page in the HTTP Link header should define it.

Example Usage


    var input = [];
        input['networkId'] = network_id;
        input['id'] = 'id';
        input['perPage'] = 'perPage';
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSmDeviceCommandLogs(input, function(error, response, context) {

    
    });

Method: getNetworkSmPerformanceHistory

Return historical records of various Systems Manager client metrics for desktop devices.

function getNetworkSmPerformanceHistory(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
idRequiredTODO: Add a parameter description
perPageOptionalThe number of entries per page returned
startingAfterOptionalA 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, next or prev page in the HTTP Link header should define it.
endingBeforeOptionalA 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, next or prev page in the HTTP Link header should define it.

Example Usage


    var input = [];
        input['networkId'] = network_id;
        input['id'] = 'id';
        input['perPage'] = 'perPage';
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSmPerformanceHistory(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SNMPSettingsController

Get singleton instance

The singleton instance of the SNMPSettingsController class can be accessed from the API Client.

var controller = lib.SNMPSettingsController;

Method: getNetworkSnmpSettings

Return the SNMP settings for a network

function getNetworkSnmpSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSnmpSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSnmpSettings

Update the SNMP settings for a network

function updateNetworkSnmpSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSnmpSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSnmpSettings'] = new UpdateNetworkSnmpSettingsModel({"key":"value"});

    controller.updateNetworkSnmpSettings(input, function(error, response, context) {

    
    });

Method: getOrganizationSnmp

Return the SNMP settings for an organization

function getOrganizationSnmp(organizationId, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description

Example Usage


    var organizationId = 'organizationId';

    controller.getOrganizationSnmp(organizationId, function(error, response, context) {

    
    });

Method: updateOrganizationSnmp

Update the SNMP settings for an organization

function updateOrganizationSnmp(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
updateOrganizationSnmpOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['updateOrganizationSnmp'] = new UpdateOrganizationSnmpModel({"key":"value"});

    controller.updateOrganizationSnmp(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SsidsController

Get singleton instance

The singleton instance of the SsidsController class can be accessed from the API Client.

var controller = lib.SsidsController;

Method: getNetworkDeviceWirelessStatus

Return the SSID statuses of an access point

function getNetworkDeviceWirelessStatus(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';

    controller.getNetworkDeviceWirelessStatus(input, function(error, response, context) {

    
    });

Method: getNetwork_ssids

List the SSIDs in a network. Supports networks with access points or wireless-enabled security appliances and teleworker gateways.

function getNetwork_ssids(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetwork_ssids(networkId, function(error, response, context) {

    
    });

Method: getNetworkSsid

Return a single SSID

function getNetworkSsid(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';

    controller.getNetworkSsid(input, function(error, response, context) {

    
    });

Method: updateNetworkSsid

Update the attributes of an SSID

function updateNetworkSsid(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description
updateNetworkSsidOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';
        input['updateNetworkSsid'] = new UpdateNetworkSsidModel({"key":"value"});

    controller.updateNetworkSsid(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SecurityEventsController

Get singleton instance

The singleton instance of the SecurityEventsController class can be accessed from the API Client.

var controller = lib.SecurityEventsController;

Method: getNetworkClientSecurityEvents

List the security events for a client. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.

function getNetworkClientSecurityEvents(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 791 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 791 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 791 days. The default is 31 days.
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 167.845331001023;
        input['perPage'] = 167;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkClientSecurityEvents(input, function(error, response, context) {

    
    });

Method: getNetworkSecurityEvents

List the security events for a network

function getNetworkSecurityEvents(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 365 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 365 days. The default is 31 days.
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 167.845331001023;
        input['perPage'] = 167;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getNetworkSecurityEvents(input, function(error, response, context) {

    
    });

Method: getOrganizationSecurityEvents

List the security events for an organization

function getOrganizationSecurityEvents(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 365 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 365 days. The default is 31 days.
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 1000. Default is 100.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 167.845331001023;
        input['perPage'] = 167;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';

    controller.getOrganizationSecurityEvents(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SplashLoginAttemptsController

Get singleton instance

The singleton instance of the SplashLoginAttemptsController class can be accessed from the API Client.

var controller = lib.SplashLoginAttemptsController;

Method: getNetworkSplashLoginAttempts

List the splash login attempts for a network

function getNetworkSplashLoginAttempts(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
ssidNumberOptionalOnly return the login attempts for the specified SSID
loginIdentifierOptionalThe username, email, or phone number used during login
timespanOptionalThe timespan, in seconds, for the login attempts. The period will be from [timespan] seconds ago until now. The maximum timespan is 3 months

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['ssidNumber'] = Object.keys(ssidNumber)[0];
        input['loginIdentifier'] = 'loginIdentifier';
        input['timespan'] = 167;

    controller.getNetworkSplashLoginAttempts(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SplashSettingsController

Get singleton instance

The singleton instance of the SplashSettingsController class can be accessed from the API Client.

var controller = lib.SplashSettingsController;

Method: getNetwork_ssids_PlashSettings

Display the splash page settings for the given SSID

function getNetwork_ssids_PlashSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';

    controller.getNetwork_ssids_PlashSettings(input, function(error, response, context) {

    
    });

Method: updateNetwork_ssids_PlashSettings

Modify the splash page settings for the given SSID

function updateNetwork_ssids_PlashSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description
updateNetwork_ssids_PlashSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';
        input['updateNetwork_ssids_PlashSettings'] = new UpdateNetworkSsidsPlashSettingsModel({"key":"value"});

    controller.updateNetwork_ssids_PlashSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SwitchPortSchedulesController

Get singleton instance

The singleton instance of the SwitchPortSchedulesController class can be accessed from the API Client.

var controller = lib.SwitchPortSchedulesController;

Method: getNetworkSwitchPortSchedules

List switch port schedules

function getNetworkSwitchPortSchedules(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSwitchPortSchedules(networkId, function(error, response, context) {

    
    });

Method: createNetworkSwitchPortSchedule

Add a switch port schedule

function createNetworkSwitchPortSchedule(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkSwitchPortScheduleRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSwitchPortSchedule'] = new CreateNetworkSwitchPortScheduleModel({"key":"value"});

    controller.createNetworkSwitchPortSchedule(input, function(error, response, context) {

    
    });

Method: deleteNetworkSwitchPortSchedule

Delete a switch port schedule

function deleteNetworkSwitchPortSchedule(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
portScheduleIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['portScheduleId'] = 'portScheduleId';

    controller.deleteNetworkSwitchPortSchedule(input, function(error, response, context) {

    
    });

Method: updateNetworkSwitchPortSchedule

Update a switch port schedule

function updateNetworkSwitchPortSchedule(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
portScheduleIdRequiredTODO: Add a parameter description
updateNetworkSwitchPortScheduleOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['portScheduleId'] = 'portScheduleId';
        input['updateNetworkSwitchPortSchedule'] = new UpdateNetworkSwitchPortScheduleModel({"key":"value"});

    controller.updateNetworkSwitchPortSchedule(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SwitchPortsController

Get singleton instance

The singleton instance of the SwitchPortsController class can be accessed from the API Client.

var controller = lib.SwitchPortsController;

Method: getDeviceSwitchPorts

List the switch ports for a switch

function getDeviceSwitchPorts(serial, callback)

Parameters

ParameterTagsDescription
serialRequiredTODO: Add a parameter description

Example Usage


    var serial = 'serial';

    controller.getDeviceSwitchPorts(serial, function(error, response, context) {

    
    });

Method: getDeviceSwitchPort

Return a switch port

function getDeviceSwitchPort(input, callback)

Parameters

ParameterTagsDescription
serialRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['serial'] = 'serial';
        input['number'] = 'number';

    controller.getDeviceSwitchPort(input, function(error, response, context) {

    
    });

Method: updateDeviceSwitchPort

Update a switch port

function updateDeviceSwitchPort(input, callback)

Parameters

ParameterTagsDescription
serialRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description
updateDeviceSwitchPortOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['serial'] = 'serial';
        input['number'] = 'number';
        input['updateDeviceSwitchPort'] = new UpdateDeviceSwitchPortModel({"key":"value"});

    controller.updateDeviceSwitchPort(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SwitchProfilesController

Get singleton instance

The singleton instance of the SwitchProfilesController class can be accessed from the API Client.

var controller = lib.SwitchProfilesController;

Method: getOrganizationConfigTemplateSwitchProfiles

List the switch profiles for your switch template configuration

function getOrganizationConfigTemplateSwitchProfiles(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
configTemplateIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['configTemplateId'] = 'configTemplateId';

    controller.getOrganizationConfigTemplateSwitchProfiles(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SwitchSettingsController

Get singleton instance

The singleton instance of the SwitchSettingsController class can be accessed from the API Client.

var controller = lib.SwitchSettingsController;

Method: getNetworkSwitchSettings

Returns the switch network settings

function getNetworkSwitchSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSwitchSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSwitchSettings

Update switch network settings

function updateNetworkSwitchSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSwitchSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSwitchSettings'] = new UpdateNetworkSwitchSettingsModel({"key":"value"});

    controller.updateNetworkSwitchSettings(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchSettingsMtu

Return the MTU configuration

function getNetworkSwitchSettingsMtu(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSwitchSettingsMtu(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSwitchSettingsMtu

Update the MTU configuration

function updateNetworkSwitchSettingsMtu(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSwitchSettingsMtuOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSwitchSettingsMtu'] = new UpdateNetworkSwitchSettingsMtuModel({"key":"value"});

    controller.updateNetworkSwitchSettingsMtu(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchSettingsQosRules

List quality of service rules

function getNetworkSwitchSettingsQosRules(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSwitchSettingsQosRules(networkId, function(error, response, context) {

    
    });

Method: createNetworkSwitchSettingsQosRule

Add a quality of service rule

function createNetworkSwitchSettingsQosRule(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkSwitchSettingsQosRuleRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSwitchSettingsQosRule'] = new CreateNetworkSwitchSettingsQosRuleModel({"key":"value"});

    controller.createNetworkSwitchSettingsQosRule(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchSettingsQosRulesOrder

Return the quality of service rule IDs by order in which they will be processed by the switch

function getNetworkSwitchSettingsQosRulesOrder(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSwitchSettingsQosRulesOrder(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSwitchSettingsQosRulesOrder

Update the order in which the rules should be processed by the switch

function updateNetworkSwitchSettingsQosRulesOrder(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSwitchSettingsQosRulesOrderRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSwitchSettingsQosRulesOrder'] = new UpdateNetworkSwitchSettingsQosRulesOrderModel({"key":"value"});

    controller.updateNetworkSwitchSettingsQosRulesOrder(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchSettingsQosRule

Return a quality of service rule

function getNetworkSwitchSettingsQosRule(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
qosRuleIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['qosRuleId'] = 'qosRuleId';

    controller.getNetworkSwitchSettingsQosRule(input, function(error, response, context) {

    
    });

Method: deleteNetworkSwitchSettingsQosRule

Delete a quality of service rule

function deleteNetworkSwitchSettingsQosRule(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
qosRuleIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['qosRuleId'] = 'qosRuleId';

    controller.deleteNetworkSwitchSettingsQosRule(input, function(error, response, context) {

    
    });

Method: updateNetworkSwitchSettingsQosRule

Update a quality of service rule

function updateNetworkSwitchSettingsQosRule(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
qosRuleIdRequiredTODO: Add a parameter description
updateNetworkSwitchSettingsQosRuleOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['qosRuleId'] = 'qosRuleId';
        input['updateNetworkSwitchSettingsQosRule'] = new UpdateNetworkSwitchSettingsQosRuleModel({"key":"value"});

    controller.updateNetworkSwitchSettingsQosRule(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchSettingsStormControl

Return the global enhanced storm control configuration

function getNetworkSwitchSettingsStormControl(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSwitchSettingsStormControl(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSwitchSettingsStormControl

Update the global enhanced storm control configuration

function updateNetworkSwitchSettingsStormControl(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSwitchSettingsStormControlOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSwitchSettingsStormControl'] = new UpdateNetworkSwitchSettingsStormControlModel({"key":"value"});

    controller.updateNetworkSwitchSettingsStormControl(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchSettingsStp

Returns STP settings

function getNetworkSwitchSettingsStp(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSwitchSettingsStp(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSwitchSettingsStp

Updates STP settings

function updateNetworkSwitchSettingsStp(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSwitchSettingsStpOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSwitchSettingsStp'] = new UpdateNetworkSwitchSettingsStpModel({"key":"value"});

    controller.updateNetworkSwitchSettingsStp(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SwitchStacksController

Get singleton instance

The singleton instance of the SwitchStacksController class can be accessed from the API Client.

var controller = lib.SwitchStacksController;

Method: getNetworkSwitchStacks

List the switch stacks in a network

function getNetworkSwitchStacks(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSwitchStacks(networkId, function(error, response, context) {

    
    });

Method: createNetworkSwitchStack

Create a stack

function createNetworkSwitchStack(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkSwitchStackRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkSwitchStack'] = new CreateNetworkSwitchStackModel({"key":"value"});

    controller.createNetworkSwitchStack(input, function(error, response, context) {

    
    });

Method: getNetworkSwitchStack

Show a switch stack

function getNetworkSwitchStack(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
switchStackIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['switchStackId'] = 'switchStackId';

    controller.getNetworkSwitchStack(input, function(error, response, context) {

    
    });

Method: deleteNetworkSwitchStack

Delete a stack

function deleteNetworkSwitchStack(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
switchStackIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['switchStackId'] = 'switchStackId';

    controller.deleteNetworkSwitchStack(input, function(error, response, context) {

    
    });

Method: addNetworkSwitchStack

Add a switch to a stack

function addNetworkSwitchStack(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
switchStackIdRequiredTODO: Add a parameter description
addNetworkSwitchStackRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['switchStackId'] = 'switchStackId';
        input['addNetworkSwitchStack'] = new AddNetworkSwitchStackModel({"key":"value"});

    controller.addNetworkSwitchStack(input, function(error, response, context) {

    
    });

Method: removeNetworkSwitchStack

Remove a switch from a stack

function removeNetworkSwitchStack(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
switchStackIdRequiredTODO: Add a parameter description
removeNetworkSwitchStackRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['switchStackId'] = 'switchStackId';
        input['removeNetworkSwitchStack'] = new RemoveNetworkSwitchStackModel({"key":"value"});

    controller.removeNetworkSwitchStack(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: SyslogServersController

Get singleton instance

The singleton instance of the SyslogServersController class can be accessed from the API Client.

var controller = lib.SyslogServersController;

Method: getNetworkSyslogServers

List the syslog servers for a network

function getNetworkSyslogServers(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkSyslogServers(networkId, function(error, response, context) {

    
    });

Method: updateNetworkSyslogServers

Update the syslog servers for a network

function updateNetworkSyslogServers(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkSyslogServersRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkSyslogServers'] = new UpdateNetworkSyslogServersModel({"key":"value"});

    controller.updateNetworkSyslogServers(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: TrafficAnalysisSettingsController

Get singleton instance

The singleton instance of the TrafficAnalysisSettingsController class can be accessed from the API Client.

var controller = lib.TrafficAnalysisSettingsController;

Method: getNetworkTrafficAnalysisSettings

Return the traffic analysis settings for a network

function getNetworkTrafficAnalysisSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkTrafficAnalysisSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkTrafficAnalysisSettings

Update the traffic analysis settings for a network

function updateNetworkTrafficAnalysisSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkTrafficAnalysisSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkTrafficAnalysisSettings'] = new UpdateNetworkTrafficAnalysisSettingsModel({"key":"value"});

    controller.updateNetworkTrafficAnalysisSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: TrafficShapingController

Get singleton instance

The singleton instance of the TrafficShapingController class can be accessed from the API Client.

var controller = lib.TrafficShapingController;

Method: updateNetworkSsidTrafficShaping

Update the traffic shaping settings for an SSID on an MR network

function updateNetworkSsidTrafficShaping(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description
updateNetworkSsidTrafficShapingOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';
        input['updateNetworkSsidTrafficShaping'] = new UpdateNetworkSsidTrafficShapingModel({"key":"value"});

    controller.updateNetworkSsidTrafficShaping(input, function(error, response, context) {

    
    });

Method: getNetworkSsidTrafficShaping

Display the traffic shaping settings for a SSID on an MR network

function getNetworkSsidTrafficShaping(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
numberRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['number'] = 'number';

    controller.getNetworkSsidTrafficShaping(input, function(error, response, context) {

    
    });

Method: updateNetworkTrafficShaping

Update the traffic shaping settings for an MX network

function updateNetworkTrafficShaping(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkTrafficShapingOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkTrafficShaping'] = new UpdateNetworkTrafficShapingModel({"key":"value"});

    controller.updateNetworkTrafficShaping(input, function(error, response, context) {

    
    });

Method: getNetworkTrafficShaping

Display the traffic shaping settings for an MX network

function getNetworkTrafficShaping(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkTrafficShaping(networkId, function(error, response, context) {

    
    });

Method: getNetworkTrafficShapingApplicationCategories

Returns the application categories for traffic shaping rules.

function getNetworkTrafficShapingApplicationCategories(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkTrafficShapingApplicationCategories(networkId, function(error, response, context) {

    
    });

Method: getNetworkTrafficShapingDscpTaggingOptions

Returns the available DSCP tagging options for your traffic shaping rules.

function getNetworkTrafficShapingDscpTaggingOptions(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkTrafficShapingDscpTaggingOptions(networkId, function(error, response, context) {

    
    });

Back to List of Controllers

Class: UplinkSettingsController

Get singleton instance

The singleton instance of the UplinkSettingsController class can be accessed from the API Client.

var controller = lib.UplinkSettingsController;

Method: getNetworkUplinkSettings

Returns the uplink settings for your MX network.

function getNetworkUplinkSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkUplinkSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkUplinkSettings

Updates the uplink settings for your MX network.

function updateNetworkUplinkSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkUplinkSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkUplinkSettings'] = new UpdateNetworkUplinkSettingsModel({"key":"value"});

    controller.updateNetworkUplinkSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: VlansController

Get singleton instance

The singleton instance of the VlansController class can be accessed from the API Client.

var controller = lib.VlansController;

Method: getNetwork_vlans

List the VLANs for an MX network

function getNetwork_vlans(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetwork_vlans(networkId, function(error, response, context) {

    
    });

Method: createNetworkVlan

Add a VLAN

function createNetworkVlan(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
createNetworkVlanRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['createNetworkVlan'] = new CreateNetworkVlanModel({"key":"value"});

    controller.createNetworkVlan(input, function(error, response, context) {

    
    });

Method: getNetworkVlan

Return a VLAN

function getNetworkVlan(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
vlanIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['vlanId'] = 'vlanId';

    controller.getNetworkVlan(input, function(error, response, context) {

    
    });

Method: updateNetworkVlan

Update a VLAN

function updateNetworkVlan(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
vlanIdRequiredTODO: Add a parameter description
updateNetworkVlanOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['vlanId'] = 'vlanId';
        input['updateNetworkVlan'] = new UpdateNetworkVlanModel({"key":"value"});

    controller.updateNetworkVlan(input, function(error, response, context) {

    
    });

Method: deleteNetworkVlan

Delete a VLAN from a network

function deleteNetworkVlan(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
vlanIdRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['vlanId'] = 'vlanId';

    controller.deleteNetworkVlan(input, function(error, response, context) {

    
    });

Method: getNetwork_vlans_EnabledState

Returns the enabled status of VLANs for the network

function getNetwork_vlans_EnabledState(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetwork_vlans_EnabledState(networkId, function(error, response, context) {

    
    });

Method: updateNetwork_vlans_EnabledState

Enable/Disable VLANs for the given network

function updateNetwork_vlans_EnabledState(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetwork_vlans_EnabledStateRequiredTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetwork_vlans_EnabledState'] = new UpdateNetworkVlansEnabledStateModel({"key":"value"});

    controller.updateNetwork_vlans_EnabledState(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: WebhookLogsController

Get singleton instance

The singleton instance of the WebhookLogsController class can be accessed from the API Client.

var controller = lib.WebhookLogsController;

Method: getOrganizationWebhookLogs

Return the log of webhook POSTs sent

function getOrganizationWebhookLogs(input, callback)

Parameters

ParameterTagsDescription
organizationIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 90 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 31 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.
perPageOptionalThe number of entries per page returned. Acceptable range is 3 - 1000. Default is 50.
startingAfterOptionalA 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.
endingBeforeOptionalA 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.
urlOptionalThe URL the webhook was sent to

Example Usage


    var input = [];
        input['organizationId'] = 'organizationId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['perPage'] = 76;
        input['startingAfter'] = 'startingAfter';
        input['endingBefore'] = 'endingBefore';
        input['url'] = 'url';

    controller.getOrganizationWebhookLogs(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: WirelessHealthController

Get singleton instance

The singleton instance of the WirelessHealthController class can be accessed from the API Client.

var controller = lib.WirelessHealthController;

Method: getNetworkClientsConnectionStats

Aggregated connectivity info for this network, grouped by clients

function getNetworkClientsConnectionStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';

    controller.getNetworkClientsConnectionStats(input, function(error, response, context) {

    
    });

Method: getNetworkClientsLatencyStats

Aggregated latency info for this network, grouped by clients

function getNetworkClientsLatencyStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag
fieldsOptionalPartial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkClientsLatencyStats(input, function(error, response, context) {

    
    });

Method: getNetworkClientConnectionStats

Aggregated connectivity info for a given client on this network. Clients are identified by their MAC.

function getNetworkClientConnectionStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';

    controller.getNetworkClientConnectionStats(input, function(error, response, context) {

    
    });

Method: getNetworkClientLatencyStats

Aggregated latency info for a given client on this network. Clients are identified by their MAC.

function getNetworkClientLatencyStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
clientIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag
fieldsOptionalPartial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['clientId'] = 'clientId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkClientLatencyStats(input, function(error, response, context) {

    
    });

Method: getNetworkConnectionStats

Aggregated connectivity info for this network

function getNetworkConnectionStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';

    controller.getNetworkConnectionStats(input, function(error, response, context) {

    
    });

Method: getNetworkDevicesConnectionStats

Aggregated connectivity info for this network, grouped by node

function getNetworkDevicesConnectionStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';

    controller.getNetworkDevicesConnectionStats(input, function(error, response, context) {

    
    });

Method: getNetworkDevicesLatencyStats

Aggregated latency info for this network, grouped by node

function getNetworkDevicesLatencyStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag
fieldsOptionalPartial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkDevicesLatencyStats(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceConnectionStats

Aggregated connectivity info for a given AP on this network

function getNetworkDeviceConnectionStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';

    controller.getNetworkDeviceConnectionStats(input, function(error, response, context) {

    
    });

Method: getNetworkDeviceLatencyStats

Aggregated latency info for a given AP on this network

function getNetworkDeviceLatencyStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
serialRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag
fieldsOptionalPartial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['serial'] = 'serial';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkDeviceLatencyStats(input, function(error, response, context) {

    
    });

Method: getNetworkFailedConnections

List of all failed client connection events on this network in a given time range

function getNetworkFailedConnections(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag
serialOptionalFilter by AP
clientIdOptionalFilter by client MAC

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';
        input['serial'] = 'serial';
        input['clientId'] = 'clientId';

    controller.getNetworkFailedConnections(input, function(error, response, context) {

    
    });

Method: getNetworkLatencyStats

Aggregated latency info for this network

function getNetworkLatencyStats(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
t0OptionalThe beginning of the timespan for the data. The maximum lookback period is 180 days from today.
t1OptionalThe end of the timespan for the data. t1 can be a maximum of 7 days after t0.
timespanOptionalThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days.
ssidOptionalFilter results by SSID
vlanOptionalFilter results by VLAN
apTagOptionalFilter results by AP Tag
fieldsOptionalPartial selection: If present, this call will return only the selected fields of ["rawDistribution", "avg"]. All fields will be returned by default. Selected fields must be entered as a comma separated string.

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['t0'] = 't0';
        input['t1'] = 't1';
        input['timespan'] = 76.3500491093612;
        input['ssid'] = 76;
        input['vlan'] = 76;
        input['apTag'] = 'apTag';
        input['fields'] = 'fields';

    controller.getNetworkLatencyStats(input, function(error, response, context) {

    
    });

Back to List of Controllers

Class: WirelessSettingsController

Get singleton instance

The singleton instance of the WirelessSettingsController class can be accessed from the API Client.

var controller = lib.WirelessSettingsController;

Method: getNetworkWirelessSettings

Return the wireless settings for a network

function getNetworkWirelessSettings(networkId, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description

Example Usage


    var networkId = 'networkId';

    controller.getNetworkWirelessSettings(networkId, function(error, response, context) {

    
    });

Method: updateNetworkWirelessSettings

Update the wireless settings for a network

function updateNetworkWirelessSettings(input, callback)

Parameters

ParameterTagsDescription
networkIdRequiredTODO: Add a parameter description
updateNetworkWirelessSettingsOptionalTODO: Add a parameter description

Example Usage


    var input = [];
        input['networkId'] = 'networkId';
        input['updateNetworkWirelessSettings'] = new UpdateNetworkWirelessSettingsModel({"key":"value"});

    controller.updateNetworkWirelessSettings(input, function(error, response, context) {

    
    });

Back to List of Controllers

FAQs

Package last updated on 04 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts