List Licenses
List all licenses.
Use this request param when raw license json is also expected in response.
List all licenses.
{
"total_result_count": 1,
"results": [
{
"license_id": "AAAAA-0VJD1-J83NN-0902K-CXEL0",
"product_display_name": "vDefend Firewall with ATP",
"product_family": "VMware vDefend",
"quantity": 100,
"sku_code": "ANS-FW-ATP-B",
"unit_of_measure": "CORES",
"expiration_date": 1751274000000,
"expiration_pre_warning": "P60D",
"grace_period": "P90D",
"inactive_grace_period": "P07D",
"inactive_grace_period_enabled": false,
"subscriptions": [
{
"serial_number": "SN1234",
"allocation_quantity": 500,
"start_date": 1577869200000,
"end_date": 1924938000000
}
],
"license_warnings": [
{
"warning_date": 1735722000000,
"warning_reason": "USAGE_DUE",
"pre_warning_period": "P60D"
}
],
"raw_license_json": "<RAW_LICENSE_JSON>"
}
]
}
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