Get License
Get license.
License ID
Get license.
{
"license_id": "string",
"license_type": "string",
"sku_code": "string",
"support_product_id": "string",
"product_display_name": "string",
"product_family": "string",
"product_type": "string",
"quantity": 0,
"unit_of_measure": "string",
"status": "string",
"expiration_date": 0,
"grace_period": "string",
"inactive_grace_period": "string",
"inactive_grace_period_enabled": false,
"inactive_grace_period_expiration_date": 0,
"expiration_pre_warning": "string",
"license_warnings": [
{
"warning_date": 0,
"warning_reason": "string",
"pre_warning_period": "string"
}
],
"subscriptions": [
{
"serial_number": "string",
"allocation_quantity": 0,
"start_date": 0,
"end_date": 0
}
],
"license_token": "string"
}
ID of the license.
Type of License.
Security SKU code of the license.
Product Id for support.
Display name of the product.
This refers to the family of the product. (e.g., 'AVI LOAD BALANCER' or 'ADVANCED THREAT PREVENTION', ...).
Type of product.
Total assigned quantity for the license.
Unit of measure. Examples include Core for Firewall and ATP SKUs, and Service Units (SU) for AVI Load Balancer SKUs.
License Status.
Timestamp in milliseconds since epoch.
This refers to the additional time after a license expires during which the software continues to function normally in ISO 8601 duration format. Some examples using the ISO 8601 duration format: P90D means a grace period of 90 days. P1M represents a grace period of 1 month.
Inactive grace period in ISO 8601 duration format (e.g. P90D).
Indicates whether the license is in inactive grace period.
Timestamp in milliseconds since epoch.
Pre-warning period for expiration in ISO 8601 duration format (e.g. P60D).
Array of license warning details
Array of subscription details
This is a license jwt token. This represents license entitlement spec in a jwt format.
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
unexpected error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -H 'Authorization: <value>' https://{api_host}/licensing/licenses/{license-id}