List Licenses

This request returns the list of licenses of a user.

Endpoints

  • GET /users/{userID}/licenses

Url

userID

The ID of the user

Header

Authorization

Bearer {token} (User authorization needed)

Response

A JSON object with the list of licenses

see format in the example below

Example request


 GET https://api.paramate.trinckle.com/users/e14390b7-c874-41d8-a65e-6d9de482a336/licenses
 -H Authorization: Bearer eyJhbGciOiJIUzI1Ni ... 3H8gC1k2DIKNEeJpb72yvmdY

 

Output


 HTTP/1.1 200 OK
 [
   "ab75027b-cdf6-4867-a0ad-e9495be8d8da",
   "1c72d031-4ff3-4b45-b8db-09ac0819bd36"
 ]
 

See also