netbox_bulk_update_objects
Update multiple NetBox objects simultaneously by specifying object type and data with IDs, reducing API calls and saving time.
Instructions
Update multiple objects in NetBox in a single request.
Args: object_type: String representing the NetBox object type (e.g. "devices", "ip-addresses") data: List of dicts containing the object data to update (must include "id" field)
Returns: List of updated objects
Example: To update multiple devices: netbox_bulk_update_objects("devices", [ {"id": 1, "status": "offline"}, {"id": 2, "status": "maintenance"} ])
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes | ||
object_type | Yes |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"items": {},
"title": "Data",
"type": "array"
},
"object_type": {
"title": "Object Type",
"type": "string"
}
},
"required": [
"object_type",
"data"
],
"type": "object"
}