Assets
Create a location asset
Create a new location asset
post/assets/locations
Request
- Base URLhttps://console.jumpcloud.com/api/v2
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"fields": {
"Name": "Engineering MacBook Pro 14",
"Model": "MacBookPro18,4",
"Serial Number": "C02XG0FDJK7Q",
"Status": {
"id": "6924631f16a853000117a678"
},
"Owner": {
"id": "605a1f77bcf86cd7994390aa"
},
"Location": {
"id": "605b2f88bcf86cd7994390bb"
},
"Purchase Date": "2024-06-15",
"Date Deployed": "2024-06-15T14:30:00",
"Purchase Cost": {
"amount": 2499.99,
"currency": "USD"
},
"Disk Encrypted": true
}
}Response
Location asset created 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.