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
    token stringrequired

    The actual license token.

Responses

The resource was successfully created.
Response Headers
  • location string
    The location of the newly created resource.
Schema
    token stringrequired

    The actual license token.

    customer string

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

    plan string

    Name of plan that the license is for.

    seats number

    Number of seats in the license.

    expireAt date-time

    Date when the license expires.

    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: <API_KEY_VALUE>' \
-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!