Validate Licenses
This API allows the provider to authenticate and confirm the validity of shared licenses, ensuring they are legitimate and correctly entitled to the specified customer.
The id of the tenant
Show optional properties
{
"site_id": 15688624,
"licenses": [
{
"license_id": "96782dcf-77be-45c4-b03d-412af2743263",
"quantity": 960,
"end_date": "2024-04-10"
}
]
}
{
"site_id": "15688624",
"licenses_to_validate": [
{
"license_id": "96782dcf-77be-45c4-b03d-412af2743263",
"quantity": 960,
"end_date": "2024-04-10"
},
{
"license_id": "96782dcf-77be-45c4-b03d-412af2743264",
"quantity": 960,
"end_date": "2024-04-10"
}
]
}
site id of the tenant
License details in json format for validation
OK
{
"site_id": "15688624",
"valid_licenses": [
{
"license_id": "96782dcf-77be-45c4-b03d-412af2743263",
"quantity": 960,
"product_name": "VMware Cloud Foundation (cores)",
"uom": "CORE",
"end_date": "2024-04-10"
}
],
"invalid_licenses": [
{
"license_id": "96782dcf-77be-45c4-b03d-412af2743264",
"quantity": 960,
"product_name": "VMware Cloud Foundation (cores)",
"uom": "CORE",
"end_date": "2024-04-10"
}
]
}
site_id
List of valid licenses
List of invalid licenses
Unauthorized
{
"parameter_list": [
"string"
],
"message": "string",
"major_error_code": "string",
"minor_error_code": "string"
}
parameter_list
message
major_error_code
minor_error_code
Forbidden
"ErrorResponse Object"
parameter_list
message
major_error_code
minor_error_code
Not Found
"ErrorResponse Object"
parameter_list
message
major_error_code
minor_error_code
Internal Server Error
"ErrorResponse Object"
parameter_list
message
major_error_code
minor_error_code
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"site_id:"string","licenses":["object"]}' https://{api_host}/vcf/license-mgmt/api/v1/tenants/{tenant_id}/licenses/validate