Description: Install a new license key(s) on an HA cluster.
Note
This API is available only in Self-hosted instances.
Since: 5.0.0
Security: Requires an admin user
Usage: POST /artifactory/api/system/licenses
Consumes: application/json
POST /artifactory/api/system/licenses
[{
"licenseKey": "<supplied license key>" // Any newline characters must be represented by escape sequence (\n)
}]Produces: application/json
{
"status" : 200,
"messages" : {
["<License key>" : "<status message>"]
}Sample Usage:
POST /artifactory/api/system/licenses
[
{
"licenseKey": "tL9r2Y...lDBiktbbt"
},
{
"licenseKey": DiYgVA...P7nvyNI7q"
}
]
Response:
{
"status" : 200,
"messages" : {
"tL9r2Y...lDBiktbbt" : "OK",
"DiYgVA...P7nvyNI7q" : "OK",
}