Borrow license slot

Borrow a license slot for a user.

URL: /api/v4/borrow Method: POST Content-Type: application/json Accept: application/json

Request body

{
  "product": "string (optional)",
  "user": "string (optional)",
  "os_hostname": "string (optional)",
  "ip_local": "string (optional)",
  "user_info": "string (optional)",
  "borrowed_until": "string (optional)"
}

Success response

Code: 200 OK

Example request

curl -X POST 'http://localhost:8080/api/v4/borrow' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{"product":"<product-code>","user":"<user>","borrowed_until":"<rfc3339-timestamp>"}'

Last updated

Was this helpful?