Renews an existing license session by extending its lease expiration time. Returns updated license information reflecting the new expiration. The benefit of this method over creating a new license session is that no license reactivation is needed, which may require user interaction.
const url = 'https://example.com/api/v1/provision/activations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/renew';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/provision/activations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/renewExtends lease / grace according to entitlement or session policy.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The unique identifier of the license session to renew.
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Session renewed successfully.
End user license token with meta data.
object
The signed license JWT the SDK validates offline against the provider’s public key.
A feature as activated on an end-user license: the granted value, enablement, trial/grace availability, and optional per-feature expiration.
object
When true, the feature is withheld for the duration of a trial even if enabled.
The issuer’s verdict that this license explicitly does not grant the feature. Validation treats it as final, while the feature stays present for display — a locked capability can still be shown, and reaching for it is counted as a denied check.
Examplegenerated
{ "licenseToken": "example", "version": 1, "legalNotice": "example", "copyright": "example", "providerUrl": "example", "providerEmail": "example", "description": "example", "licensedProducts": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "activatedFeatures": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "featureCode": "example", "productId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "moduleName": "example", "featurePath": "example", "name": "example", "description": "example", "value": "example", "version": "example", "isEnabled": true, "isAvailableDuringTrialPeriod": true, "isAvailableDuringGracePeriod": true, "isPaidFeature": true, "isDenied": true, "featureExpiration": "2026-04-15T12:00:00Z" } ]}User not authorized to renew this session.
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Session renewal forbidden (e.g., entitlement revoked).
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Session not found or expired.
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Too many requests – rate limit exceeded.
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Internal Server Error