/categories/:id

Changed on

Update a Category

put/categories/{id}

Request

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

Path parameters

idinteger required

Category ID

Request body

namestring required

Category name

category_type'asset' | 'accessory' | 'consumable' | 'component' | 'license' required

(asset, accessory, consumable, component, license) - as of post-v5.2, this is no longer case sensitive

use_default_eulaboolean
require_acceptanceboolean
checkin_emailboolean

Should the user be emailed the EULA and/or an acceptance confirmation email when this item is checked in?

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