Download OpenAPI specification:
Accepts a list of netdevices for bulk-import. Netdevices with the same hostname are updated, others are created. If the import mode mode is set to FULL, records from the same source are deleted if they are not in the import list.
| source required | string Import source |
| mode required | string Enum: "FULL" "DELTA" Import mode |
| deviceName required | string [ 0 .. 80 ] characters Hostname |
| deviceIp | string IP address |
| deviceClass required | string Enum: "SWITCH" "ROUTER" "SWITCHROUTER" "RADIUSAUTH" "ACCOUNTING" "WLAN" "WTP" Device class |
| inScope required | string Enum: "OUT_OF_SCOPE" "IN_SCOPE" "MAINTENANCE_MODE" Monitoring scope |
| location | string [ 0 .. 256 ] characters Location |
| blockMechanism | string Enum: "SYSTEMDEFAULT" "PORTSHUTDOWN" "BLOCKVLAN" "VLANASSIGNMENT" Block mechanism |
| l3Mode | string Enum: "V4" "V6" "V4V6" "SYSTEM" Router Layer-3 mode |
| accounting | string Enum: "ACCOUNTING_DISABLED" "ACCOUNTING_ENABLED_STOP" "ACCOUNTING_ENABLED_ALL" Accounting |
| radiusEnforcementPort | integer <int32> RADIUS enforcement port |
| macAddress | string WTP MAC address |
| ssid | string [ 0 .. 255 ] characters WTP SSID |
| tenantName | string Tenant name |
| snmpAccessProfileName | string SNMP access profile |
[- {
- "deviceName": "string",
- "deviceIp": "string",
- "deviceClass": "SWITCH",
- "inScope": "OUT_OF_SCOPE",
- "location": "string",
- "blockMechanism": "SYSTEMDEFAULT",
- "l3Mode": "V4",
- "accounting": "ACCOUNTING_DISABLED",
- "radiusEnforcementPort": 0,
- "macAddress": "string",
- "ssid": "string",
- "tenantName": "string",
- "snmpAccessProfileName": "string"
}
]Provides a list of network devices (switches, routers, ...) registered in the USP NAS inventory.
| id | integer <int64> Database ID |
| deviceName | string Hostname |
| deviceIp | string IP address |
| deviceClass | string Enum: "SWITCH" "ROUTER" "SWITCHROUTER" "RADIUSAUTH" "ACCOUNTING" "WLAN" "WTP" Netdevice class |
| inScope | string Enum: "OUT_OF_SCOPE" "IN_SCOPE" "MAINTENANCE_MODE" Monitoring scope |
| location | string Location |
| description | string Description |
| accessControl | string Enum: "SYSTEMDEFAULT" "PORTSHUTDOWN" "BLOCKVLAN" "VLANASSIGNMENT" Access control mode |
| snmpAccessProfileId | string <uuid> SNMP access profile ID |
| snmpAccessProfileName | string SNMP access profile name |
| errorCode | string Enum: "NO_ERROR" "COMMUNICATION_ERROR" "NO_MATCHING_ADAPTOR_FOUND" "OID_SCAN_ERROR" "NO_NETPORTS_DEFINED" "UNKNOWN" Error code |
| policyGroupName | string Policy group name |
| portGroup | string Portgroup name |
| accessRule | string Access rule name |
| hasNetports | boolean Whether the device has any interfaces configured as netport (uplink/downlink) or not |
| source | string Import source |
| created_before | string Registered before [date] (e.g. 2025-08-20, 2025-08-20 15:45, 2025-08-20T16:00:00+02:00) |
| created_after | string Registered after [date] |
| updated_before | string Last updated before [date] |
| updated_after | string Last updated after [date] |
| lastScan_before | string Last successful scan before [date] |
| lastScan_after | string Last successful scan after [date] |
| lastScanDuration_min | integer <int32> Last scan duration greater than [ms] |
| limit | integer <int32> Default: 0 Number of records to fetch |
| offset | integer <int32> Default: 0 Record offset |
[- {
- "id": 0,
- "deviceName": "string",
- "deviceIp": "string",
- "deviceClass": "SWITCH",
- "deviceType": "string",
- "inScope": "OUT_OF_SCOPE",
- "location": "string",
- "description": "string",
- "accessControl": "SYSTEMDEFAULT",
- "accounting": "ACCOUNTING_DISABLED",
- "snmpAccessProfileId": "125cd97f-2f8b-4b68-be99-d6bebdce436f",
- "snmpAccessProfileName": "string",
- "snmpVersion": "SNMPV1",
- "snmpAuthenticationAlgorithm": "MD5",
- "snmpEncryptionAlgorithm": "DES",
- "errorCode": "NO_ERROR",
- "policyGroupName": "string",
- "portGroup": "string",
- "accessRule": "string",
- "accessMode": "string",
- "hasNetports": true,
- "source": "string",
- "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "lastScan": "2019-08-24T14:15:22Z",
- "lastScanDuration": 0,
- "lastArpScanDuration": 0
}
]Accepts a list of portgroup-netdevice mappings for bulk-import. If the import mode mode is set to FULL, records from the same source are deleted if they are not in the import list.
| source required | string Import source |
| mode required | string Enum: "FULL" "DELTA" Import mode |
| deviceName required | string [ 1 .. 80 ] characters Netdevice hostname |
| ifName | string [ 1 .. 80 ] characters Interface name |
| ifIndex | integer <int32> >= 1 Interface index |
| portgroupName required | string [ 1 .. 80 ] characters Portgroup name |
[- {
- "deviceName": "string",
- "ifName": "string",
- "ifIndex": 1,
- "portgroupName": "string"
}
]Accepts a list of netports for bulk-import. If the import mode mode is set to FULL, records from the same source are deleted if they are not in the import list.
| source required | string Import source |
| mode required | string Enum: "FULL" "DELTA" Import mode |
| deviceName required | string [ 1 .. 80 ] characters Netdevice hostname |
| ifName | string [ 1 .. 80 ] characters Interface name |
| ifIndex | integer <int32> >= 1 Interface index |
[- {
- "deviceName": "string",
- "ifName": "string",
- "ifIndex": 1
}
]Provides a list of interfaces (ports) belonging to network devices registered in the USP NAS inventory.
| id | integer <int64> Database ID |
| netdeviceId | integer <int64> Netdevice database ID |
| netdeviceName | string Netdevice name) |
| netdeviceIp | string Netdevice IP address |
| ifName | string Interface name |
| ifIndex | integer <int32> Interface index |
| ifAlias | string Interface alias ('contains' match) |
| ifType | string Interface type (e.g. ETHERNET_CSMACD, IEEE_8023AD_LAG, ...) |
| dot1xEnabled | boolean RADIUS/802.1x enabled |
| defaultVlan | integer <int32> Default VLAN |
| isNetport | boolean Netport (uplink/downlink) |
| policyGroupName | string Policy group name to which the interface or network device is assigned to |
| portGroup | string Effective port group to which the interface or network device is assigned to |
| accessRule | string Access rule which applies to this interface, based on the port group |
| limit | integer <int32> Default: 0 Number of records to fetch |
| offset | integer <int32> Default: 0 Record offset |
[- {
- "id": 0,
- "netdeviceId": 0,
- "netdeviceName": "string",
- "netdeviceIp": "string",
- "ifName": "string",
- "ifIndex": 0,
- "ifAlias": "string",
- "ifType": "OTHER",
- "nodeCount": 0,
- "lldpNeighbour": "string",
- "trunkPort": true,
- "stpRootPort": true,
- "dot1xEnabled": true,
- "defaultVlan": 0,
- "netportType": "NETPORT",
- "policyGroupName": "string",
- "portGroup": "string",
- "accessRule": "string",
- "accessMode": "string",
- "updated": "2019-08-24T14:15:22Z"
}
]Accepts a list of endpoints for bulk-import. Endpoints with the same MAC address are updated, others are created. If the import mode mode is set to FULL, records from the same source are deleted if they are not in the import list.
| source required | string Import source |
| mode required | string Enum: "FULL" "DELTA" Import mode |
| assetId required | string [ 0 .. 80 ] characters Inventory asset ID |
| parentAssetId required | string [ 0 .. 80 ] characters Inventory parent asset ID |
| clientName | string [ 0 .. 253 ] characters Client name (hostname) |
| macAddress required | string MAC address |
| authorized required | boolean Whether the endpoint is authorized or not |
| assetType | string Inventory asset type |
| assetClass | string Inventory asset class |
| location | string [ 0 .. 100 ] characters Location |
| owner | string [ 0 .. 100 ] characters Owner |
| tenantName | string Tenant name |
object Attributes | |
| validUntil | string <date-time> Valid until |
| changedBy | string [ 0 .. 80 ] characters Changed by |
| identityType | string Enum: "MAC" "EAP_LAN" "EAP_WLAN" Identity type |
| eapUsername | string EAP username |
[- {
- "assetId": "string",
- "parentAssetId": "string",
- "clientName": "string",
- "macAddress": "string",
- "authorized": true,
- "assetType": "string",
- "assetClass": "string",
- "location": "string",
- "owner": "string",
- "tenantName": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "validUntil": "2019-08-24T14:15:22Z",
- "changedBy": "string",
- "identityType": "MAC",
- "eapUsername": "string"
}
]Blocks a specific endpoint by MAC address. If the endpoint is not registered yet, it will be created and set to unauthorized. If an IP address is specified instead, a lookup will be attempted to find the matching MAC address.
| macAddress | string MAC address |
| ipAddress | string IP address used for looking up MAC address, if MAC address is not known |
| source | string Import source |
{- "macAddress": "string",
- "ipAddress": "string",
- "source": "string"
}Temporarily approves an endpoint (with a deletion date in the future). If an endpoint is not registered yet, it will be created.
| validUntil | string <date-time> Valid until date |
| macAddress required | string MAC address |
| name required | string Device owner name |
| company required | string Device owner company |
| reason required | string Reason for approval |
| assetTypeId | integer <int64> Optional asset type |
| assetClassId | integer <int64> Optional asset class |
| tenant | string Optional tenant membership |
| source | string Optional tenant membership |
{- "validUntil": "2019-08-24T14:15:22Z",
- "macAddress": "string",
- "name": "string",
- "company": "string",
- "reason": "string",
- "assetTypeId": 0,
- "assetClassId": 0,
- "tenant": "string",
- "source": "string"
}Disconnects an endpoint and forces reauthentication by sending a RADIUS disconnect message to the related netdevice. The netdevice needs to accept RADIUS disconnect messages from USP NAS, and the matching switch adapter needs to support RADIUS disconnect messages.
| macAddress | string MAC address |
| ipAddress | string IP address used for looking up MAC address, if MAC address is not known |
{- "macAddress": "string",
- "ipAddress": "string"
}Provides a list of endpoints (client devices) which are either registered in the inventory and/or have been seen in the network. Information from deleted inventory entries will not be included.
| macAddress | string MAC address |
| macVendor | string Vendor name related to MAC address |
| eapUsername | string EAP username |
| clientIp | string Client IP address |
| clientName | string Client name from DNS or inventory |
| vlan | integer <int32> VLAN |
| status | string Enum: "ACTIVE" "INACTIVE" "DISCONNECTED" "CONNECTING" Network node state |
| authType | string Enum: "MAC_SNMP" "MACBYPASS" "IEEE802DOT1X" "RADIUS_MAC_AUTHENTICATION" "UNDEFINED" Node authentication type |
| firstSeen_before | string First seen in network before [date] (e.g. 2025-08-20, 2025-08-20 15:45, 2025-08-20T16:00:00+02:00) |
| firstSeen_after | string First seen in network after [date] |
| lastSeen_before | string Last seen in network before [date] |
| lastSeen_after | string Last seen in network after [date] |
| lastCheck_before | string Last policy check happened before [date] |
| lastCheck_after | string Last policy check happened after [date] |
| lastEvent_before | string Last connection event happened before [date] |
| lastEvent_after | string Last connection event happened after [date] |
| netdeviceId | integer <int64> Netdevice database ID |
| netdeviceName | string Netdevice hostname |
| netdeviceIp | string Netdevice IP address |
| ifName | string Interface/port name |
| ifIndex | integer <int32> Interface/port index |
| ifAlias | string Interface/port alias |
| policyGroupName | string Policy group name to which the related interface or network device is assigned to |
| portGroup | string Effective port group to which the related interface or network device is assigned to |
| accessRule | string Access rule which applies to this endpoint, based on the port group |
| inventoried | boolean Inventoried |
| authorized | boolean Authorized according to the inventory |
| identityType | string Enum: "MAC" "EAP_LAN" "EAP_WLAN" Identity type from inventory |
| location | string Location from inventory |
| owner | string Owner from inventory |
| assetType | string Asset type from inventory |
| assetClass | string Asset class from inventory |
| changedBy | string Entity which made the last changes to entry in inventory |
| source | string Inventory import source |
| temporarilyInventoried | boolean Temporarily inventoried (valid until date is set |
| limit | integer <int32> Default: 0 Number of records to fetch |
| offset | integer <int32> Default: 0 Record offset |
[- {
- "macAddress": "string",
- "macVendor": "string",
- "eapUsername": "string",
- "clientIp": "string",
- "clientIpUpdated": "2019-08-24T14:15:22Z",
- "clientNameDns": "string",
- "vlan": 0,
- "status": "ACTIVE",
- "authType": "MAC_SNMP",
- "firstSeen": "2019-08-24T14:15:22Z",
- "lastSeen": "2019-08-24T14:15:22Z",
- "lastCheck": "2019-08-24T14:15:22Z",
- "lastEvent": "2019-08-24T14:15:22Z",
- "lastStatusChange": "2019-08-24T14:15:22Z",
- "netdeviceId": 0,
- "netdeviceName": "string",
- "netdeviceIp": "string",
- "ifName": "string",
- "ifIndex": 0,
- "ifAlias": "string",
- "defaultVlan": 0,
- "policyGroupName": "string",
- "portGroup": "string",
- "accessRule": "string",
- "accessMode": "string",
- "routerName": "string",
- "routerIp": "string",
- "inventoried": true,
- "authorized": true,
- "identityType": "MAC",
- "eapUsernameInventory": "string",
- "clientNameInventory": "string",
- "location": "string",
- "owner": "string",
- "assetType": "string",
- "assetClass": "string",
- "tenant": "string",
- "doubleAttached": true,
- "assetId": "string",
- "changedBy": "string",
- "source": "string",
- "inventoryCreated": "2019-08-24T14:15:22Z",
- "inventoryUpdated": "2019-08-24T14:15:22Z",
- "inventoryValidUntil": "2019-08-24T14:15:22Z",
- "Endpoint attributes": [
- {
- "key": "string",
- "value": "string",
- "source": "string"
}
]
}
]Provides a list of data import jobs, their status and how many records were imported. Entries are sorted by latest
| source | string Import source |
| type | string Enum: "INVENTORY" "NETDEVICE" "NETPORT" "EPC" "PROFILERDEVICE" "PROFILERCOMBINATION" "PORTCONFIG" "PORTGROUP" "EPD" "DNS" Import type |
| mode | string Enum: "FULL" "DELTA" Import mode |
| status | string Enum: "PENDING" "IN_PROGRESS" "SUCCESS" "FAILURE" Import status |
| limit | integer <int32> Default: 0 Number of records to fetch |
| offset | integer <int32> Default: 0 Record offset |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "date": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "recordsTotal": 0,
- "recordsImported": 0,
- "recordsFailed": 0,
- "failureReason": "string",
- "importType": "INVENTORY",
- "source": "string",
- "mode": "FULL"
}
]