Light Services

Get all licenses for a user

GET
/users/{user}/licenses

Authorization

bearerAuth
AuthorizationBearer <token>

Personal access token generated in the admin dashboard.

In: header

Path Parameters

user*integer

The user ID

Response Body

application/json

application/json

application/json

curl -X GET "http://localhost:8000/api/users/0/licenses"
{
  "id": 0,
  "user_id": 0,
  "active": true,
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "licensable_id": 0,
  "licensable_type": "string",
  "expires_at": "2019-08-24T14:15:22Z",
  "expiry_reminder_days": 0,
  "expired_notified_at": "2019-08-24T14:15:22Z",
  "expired": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}