/licenses/:id/seats/:seat_id

Changed on

Update user or asset a license is checked-out to (Check-in/Check-out)

patch/licenses/{id}/seats/{seat_id}

Request

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

Path parameters

idinteger required

The id (not name) of the license.

seat_idinteger required

The Seat ID (unique seat identifier) of the license seat that will be modified

Request body

assigned_tointeger

The User ID to assign the license to

asset_idinteger

The Asset ID to assign this license to

notestring

Note to be associated with the checkin/checkout

Response

200

statusstring
messagesstring

Example response

{
  "status": "success",
  "messages": "License updated successfully.",
  "payload": {
    "id": 10,
    "license_id": 1,
    "assigned_to": "2",
    "user_id": 1,
    "created_at": "2021-10-12T21:01:10.000000Z",
    "updated_at": "2022-08-08T23:23:00.000000Z"
  }
}

Changes