Bulk Device Updates - Cisco DNAC and Prime
PUT/pub/v4.0/device/bulkUpdate
Update devices in your IoT Security inventory with select device information that Cortex XSOAR retrieves from an integrated Cisco DNA Center or Cisco Prime instance.
Request
Query Parameters
The customer ID to which the API call is directed
- application/json
Body
required
- Array [
- ]
devicelist object[]required
Array of device attributes from the integrated DNA Center or Prime instance
The MAC address of a device in the Cisco DNA Center or Prime inventory. IoT Security uses it to link attributes from a device in the other inventory to one in its own inventory.
Possible values: [dnac
, prime
]
The source of the device information: "dnac" or "prime"
The device IP address
The location of the device as learned from the location setting on the Cisco switch or access point to which the device connects
The IP address of the access point through which the device makes a wireless connection to the network
The name of the access point through which the device makes a wireless connection to the network
The SSID on which the device associates with the access point
The IP address of the switch to which the device makes a wired connection to the network
The hostname of the switch to which the device makes a wired connection to the network
The Ethernet interface on the switch through which the device makes a wired connection to the network
The ID of the VLAN that the device is in
The name of the VLAN that the device is in
The type of network connection for the device: wired or wireless
Responses
- 200
- 4XX
- 5XX
Successful Response
- application/json
- Schema
- Example (from schema)
- resolveSecurityAlertResponseExample
Schema
The path used to call the IoT Security API: “device/bulkupdate”
The version of the IoT Security API: “v4.0”
The code number indicating success: 1
The message indicating success: “OK”
The number of devices that IoT Security successfully updated
{
"api": "string",
"ver": "string",
"code": "string",
"message": "string",
"updatedDeviceNum": 0
}
{
"api": "device/bulkUpdate",
"ver": "v4.0",
"code": 1,
"message": "OK",
"updatedDeviceNum": 5
}
Client Error Response
- application/json
- Schema
- Example (from schema)
- Bad Request
- Forbidden access
- Too many requests
Schema
STATUS_CODE
GENERAL_MESSAGE
{
"code": "string",
"msg": "string"
}
{
"code": 400,
"msg": "Bad Request. This occurs when an HTTP request contains an invalid query string."
}
{
"code": 403,
"msg": "Forbidden access. Either the provided API key is invalid or it does not have the required RBAC permissions to run this API."
}
{
"code": 429,
"msg": "Too many requests. The number of requests for device details for a single device exceeded the rate limit of 180 queries per minute per tenant."
}
Server Error Response
- application/json
- Schema
- Example (from schema)
- resolveSecurityAlertResponseExample
Schema
STATUS_CODE
GENERAL_MESSAGE
{
"code": "string",
"msg": "string"
}
{
"code": 500,
"msg": "Internal server error. A unified status for API communication type errors."
}