Virtual Device

Get all virtual devices

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
Array
Name
string

Friendly name for the virtual device.

MAC
string

A simulated MAC address associated with the virtual device.

IsActive
boolean

Indicates whether the virtual device is currently active.

401

Unauthorized access, invalid credentials were used.

get/modules/virtualDevice
Request samples
Response samples
application/json
[
  • {
    }
]

Create a new virtual device

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Create a new virtual device

Name
string

Friendly name for the virtual device.

MAC
string

A simulated MAC address associated with the virtual device.

Responses
200

Response success

Response Schema: application/json
Name
string

Friendly name for the virtual device.

MAC
string

A simulated MAC address associated with the virtual device.

IsActive
boolean

Indicates whether the virtual device is currently active.

400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/virtualDevice
Request samples
application/json
{
  • "Name": "Virtual Device 1",
  • "MAC": "VA:AA:BB:CC:DD:EE"
}
Response samples
application/json
{
  • "Name": "Virtual Device 1",
  • "MAC": "VA:AA:BB:CC:DD:EE",
  • "IsActive": true
}

Get a specific virtual device

SecurityOAuth2 or ApiKey
Request
path Parameters
address
required
string

Address of the virtual device (usually it's MAC address)

Responses
200

Response success

Response Schema: application/json
Name
string

Friendly name for the virtual device.

MAC
string

A simulated MAC address associated with the virtual device.

IsActive
boolean

Indicates whether the virtual device is currently active.

401

Unauthorized access, invalid credentials were used.

404

Resource was not found.

get/modules/virtualDevice/{address}
Request samples
Response samples
application/json
{
  • "Name": "Virtual Device 1",
  • "MAC": "VA:AA:BB:CC:DD:EE",
  • "IsActive": true
}

Update a virtual device

SecurityOAuth2 or ApiKey
Request
path Parameters
address
required
string

Address of the virtual device (usually it's MAC address)

Request Body schema: application/json

Update a virtual device

Name
string

Friendly name for the virtual device.

MAC
string

A simulated MAC address associated with the virtual device.

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

422

Invalid data was sent.

put/modules/virtualDevice/{address}
Request samples
application/json
{
  • "Name": "Virtual Device 1",
  • "MAC": "VA:AA:BB:CC:DD:EE"
}
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Delete a virtual device

SecurityOAuth2 or ApiKey
Request
path Parameters
address
required
string

Address of the virtual device (usually it's MAC address)

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

delete/modules/virtualDevice/{address}
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Activate a bundle of virtual devices

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Activate all virtual devices with the given addresses

Array
string

Address of the virtual device (usually it's MAC address)

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/virtualDevice/activate
Request samples
application/json
[
  • "VA:AA:BB:CC:DD:EE"
]
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Deactivate a bundle of virtual devices

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Deactivate all virtual devices with the given addresses

Array
string

Address of the virtual device (usually it's MAC address)

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/virtualDevice/deactivate
Request samples
application/json
[
  • "VA:AA:BB:CC:DD:EE"
]
Response samples
application/json
{
  • "status": 200,
  • "success": true
}