Install HA Cluster Licenses

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Install a new license key(s) on an HA cluster.

Since: 5.0.0

Security: Requires an admin user

Usage: POST /api/system/licenses

Consumes: application/json

POST /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 /api/system/licenses
[
    {
        "licenseKey": "tL9r2Y...lDBiktbbt"
    },
    {
        "licenseKey": DiYgVA...P7nvyNI7q"
    }
]

Response:
{
  "status" : 200,
  "messages" : {
    "tL9r2Y...lDBiktbbt" : "OK",
    "DiYgVA...P7nvyNI7q" : "OK", 
}