Assets
Update a device asset
Update an existing device asset by its ID
put/api/v2/assets/devices/{id}
Request
- Base URLhttps://console.jumpcloud.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The device asset ID
Request body
Example request
{
"fields": {
"Status": {
"id": "6924631f16a853000117a679"
},
"Model": "MacBookPro18,5",
"Purchase Date": "2025-01-10",
"Date Deployed": "2025-01-10T09:00:00",
"Purchase Cost": {
"amount": 1999.5,
"currency": "USD"
}
}
}Response
Device asset updated successfully
Example response
{
"id": "507f1f77bcf86cd799439011",
"jcSystemId": "605c3f99bcf86cd7994390cc",
"fields": {
"Name": {
"editable": true,
"value": "Finance laptop 12"
},
"Model": {
"editable": true,
"value": "MacBookPro18,3"
},
"Status": {
"editable": true,
"value": {
"id": "6924631f16a853000117a678",
"name": "In stock",
"type": "select"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.