Skip to main content

Set a new Unleash license.

POST 

<your-unleash-url>/api/admin/license

Set a new Unleash license. Only available for self-hosted Enterprise customers.

Request

Bodyrequired

licenseUpdateSchema

    tokenstringrequired

    The actual license token.

Responses

The resource was successfully created.

Response Headers
    location

    The location of the newly created resource.

Schema
    tokenstringrequired

    The actual license token.

    isValidboolean

    Whether the license is valid or not.

    customerstring

    Name of the customer that owns the license. This is the name of the company that purchased the license.

    typestringrequired

    Type of license.

    instanceNamestring

    Name of the Unleash instance where this license is valid.

    instanceIdstring

    Identifier of the Unleash instance where this license is valid.

    planstringrequired

    Name of plan that the license is for.

    seatsnumberrequired

    Number of seats in the license.

    expireAtdate-time

    Date when the license expires.

    Example: 2023-07-31T13:33:02Z
    issuedAtdate-time

    Date when the license was issued.

    Example: 2023-07-31T13:33:02Z

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/license' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>' \
-d '{
"token": "string"
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Body required
{
  "token": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!