View as Markdown
Snipe-IT icon

Snipe-IT ACTION

Update Hardware Asset

Partially updates information about an existing hardware asset. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Snipe-IT account once, then configure and run Update Hardware Asset from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "snipe_it-update-hardware",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    snipe_it: { authProvisionId: "apn_xxxxxxx" },
    hardwareId: 10,
    assetTag: "Asset Tag",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Update Hardware Asset inputs
Property Type Description
hardwareId Hardware Asset integer
Select the hardware asset to update
Required Dynamic
assetTag Asset Tag string
Update the asset tag
Optional
notes Notes string
Update notes about the asset
Optional
statusId Status integer
Update the status of the asset
Optional Dynamic
modelId Model integer
Update the model of the asset
Optional Dynamic
lastCheckout Last Checkout string
Update the last checkout date
Optional
assignedUser Assigned User integer
The ID of the user the asset should be checked out to
Optional Dynamic
assignedLocation Assigned Location integer
The ID of the user the location should be checked out to
Optional Dynamic
assignedAsset Assigned Asset integer
The ID of the asset the asset should be checked out to
Optional Dynamic
companyId Company integer
The ID of an associated company id
Optional Dynamic
serial Serial Number string
Serial number of the asset
Optional
orderNumber Order Number string
Update the order number
Optional
warrantyMonths Warranty Months integer
Update the warranty period
Optional
purchaseCost Purchase Cost string
Update the purchase cost
Optional
purchaseDate Purchase Date string
Update the purchase date
Optional
requestable Requestable boolean
Update whether the asset can be requested
Optional
archived Archived boolean
Update the archived status
Optional
rtdLocationId Location integer
Update the RTD location
Optional Dynamic
name Asset Name string
Update the name of the asset
Optional
locationId Location integer
Update the location of the asset
Optional Dynamic
byod BYOD boolean
Update the BYOD
Optional
customFields Custom Fields object
Update custom fields using DB field names from Settings > Custom Fields
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
snipe_it-update-hardware
Version
0.0.2
App
Snipe-IT
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes