Description: Return information about the currently installed licenses in an HA cluster.
Note
This API is available only in Self-hosted instances.
Since: 5.0.0
Security: Requires authentication using Access Tokens, either as admin or using a scoped token with the system:info/licenses:r scope.
Usage: GET /artifactory/api/system/licenses
Produces: application/json
[ {
"type" : "Enterprise",
"validThrough" : "<validity date formatted MMM DD, YYYY>",
"licensedTo" : "<Company name>",
"licenseHash" : "<license hash code>",
"nodeId" : "<Node ID of the node activated with this license | Not in use>",
"nodeUrl" : "<URL of the node activated with this license | Not in use>",
"expired" : <true | false>
}]Sample Output:
GET /artifactory/api/system/licenses
[ {
"type" : "Enterprise",
"validThrough" : "May 15, 2018",
"licensedTo" : "JFrog",
"licenseHash" : "179b7ea384d0c4655a00dfac7285a21d986a17923",
"nodeId" : "art1",
"nodeUrl" : "http://10.1.16.83:8091/artifactory",
"expired" : false
}, {
"type" : "Enterprise",
"validThrough" : "May 15, 2018",
"licensedTo" : "JFrog",
"licenseHash" : "e10b8aa1d1dc5107439ce43debc6e65dfeb71afd3",
"nodeId" : "Not in use",
"nodeUrl" : "Not in use",
"expired" : false
} ]