/licenses/:id/seats

Changed on

Return all unique Seat ID's for a particular license

get/licenses/{id}/seats

Request

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

Path parameters

idinteger required

The id (not name) of the license.

Response

200

totalinteger

Example response

{
  "total": 10,
  "rows": [
    {
      "id": 10,
      "license_id": 1,
      "assigned_user": {
        "id": 1,
        "name": "Admin User",
        "department": {
          "id": 1,
          "name": "Human Resources"
        }
      },
      "location": {
        "id": 5,
        "name": "Hubertchester"
      },
      "name": "Seat 1",
      "available_actions": {
        "checkout": true,
        "checkin": true,
        "clone": true,
        "update": true,
        "delete": true
      }
    }
  ]
}

Changes