Borrow Device

Borrow a single device if the requesting manager has access permissions to it.

Endpoint: /api/v1/devices/{id}/borrow/ Method: POST

Parameters

  • borrowed_until - DateTime

Request body (JSON)
{
    "borrowed_until": "2022-04-14T12:30:50"
}

Success Response

Code: 200 OK

Response (JSON)
{
    "device_id": 1124,
    "license_id": 1623736794797049,
    "borrowed_until": "2022-04-14T12:30:50Z",
    "max_borrow_time": 2
}

Was this helpful?