bulk_asset_operations
Apply bulk edits or audits to multiple assets at once, updating fields or recording audit details with per-asset permission checks.
Instructions
Perform bulk operations on multiple assets at once (Snipe-IT v8.7+).
Operations:
edit: Apply the same field changes to every asset in asset_ids (PATCH /hardware/bulk; requires fields)
audit: Mark every asset in asset_ids as audited, optionally recording a note, location, and next audit date (POST /hardware/audit/bulk)
Snipe-IT applies per-asset permission checks, so one failing asset does not block the rest of the batch; check the returned payload for per-asset results.
Returns: dict: Result of the operation including success status and the API response
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Audit note (for audit action) | |
| action | Yes | The bulk operation to perform | |
| fields | No | Fields to set on every asset (for edit action): status_id, model_id, company_id, location_id/rtd_location_id, name, custom fields (_snipeit_*), etc. | |
| asset_ids | Yes | IDs of the assets to operate on | |
| location_id | No | Location observed during audit (for audit action) | |
| next_audit_date | No | Next audit date, YYYY-MM-DD (for audit action) | |
| update_location | No | Also move the assets to location_id, not just record it in the audit (for audit action) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||