Updates a license
The id of the license.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URLAuth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEYContains the data for the license key update form.
The id of the package.
The id of the subscription type.
The amount value of a license to be created.
The currency code in the ISO 4217 format, which is a three-letter uppercase code that identifies a specific currency. This value should strictly follow the ISO 4217 standard.
The start date of the license.
The end date of the license.
The description of the license.
The tags of the license.
The test mode of the license. By default, it is set to false.
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
The user's access was denied.
The license was not found in the system.
API call exceeded rate limit due to too many requests.
PUT /api/v1/licenses/{id} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 208
{
"packageId": "text",
"subscriptionTypeId": "text",
"amount": 1,
"currencyCode": "text",
"startDate": "2025-11-04T20:43:07.957Z",
"endDate": "2025-11-04T20:43:07.957Z",
"description": "text",
"tags": "text",
"testMode": true
}{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"id": "sApKpllz4sAplsmzha",
"packageId": "sApKpllz4sAplsmzha",
"subscriptionTypeId": "sApKpllz4sAplsmzha",
"code": "JFWCODELICENSE",
"type": "Normal",
"amount": 1,
"currencyCode": "USD",
"description": "This is a trial license",
"startDate": "2025-09-19T11:20:20.4289885+07:00",
"endDate": "2025-10-19T11:20:20.4289888+07:00",
"tags": "#tag1, #tag2",
"status": "Active",
"usedByUserId": "aPlasizhyPls",
"usedDate": "2025-10-19T11:20:20.4289893+07:00",
"testMode": false,
"modifiedDate": "2025-09-19T11:20:20.4289904+07:00"
},
"errors": []
}Last updated
Was this helpful?