Skip to content

Get License Details

Request

Returns detailed information about a specific license

Security
bearer-key
Path
licenseNamestringrequired

license name (by running General Info - Licenses > Get All Licenses).

GET
/api/v2.0/licenses/{licenseName}
curl -i -X GET \
  'https://api-saas.mend.io/api/v2.0/licenses/{licenseName}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
retValobject(LicenseDTO)
Response
{ "supportToken": "1171c60d", "retVal": { "uuid": "123e4567-e89b-12d3-a456-426655440000", "name": "MIT", "spdxName": "Glide", "type": "OPEN_SOURCE", "suspected": true, "osiApproved": true, "profile": {} } }