Update a model

put/models/{id}

Request

  • Base URL
    https://develop.snipeitapp.com/api/v1
  • URL
    https://develop.snipeitapp.com/api/v1/models/{id}
  • Auth
    none required

Path parameters

idinteger required

model id

Request body

namestring required

Model name

model_numberstring

Part or model number of the model

category_idinteger required
manufacturer_idinteger
fieldset_idinteger

The ID of an EXISTING custom fieldset

eolinteger

Number of months until this model's assets are considered EOL

depreciation_idinteger
notesstring
requestableboolean

Response

200

OR

Example response

{
  "id": 3,
  "name": "Rohan-Bergstrom",
  "created_at": "2017-01-11 03:31:25",
  "updated_at": "2017-01-11 03:31:25"
}

Changes