Validate Licenses

Validate Licenses

This API will be used by the provider to validate the shared licenses for its legitimacy and that it belongs to the customer.

Request
URI
POST
https://eapi.broadcom.com/vcf/license-mgmt/api/v1/tenants/{tenant_id}/licenses/validate
COPY
Request Body
ValidateLicenseRequest of type(s) application/json
Required
{
    "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"
        }
    ]
}
string
site_id
Required

site_id

array of object
licenses
Required

LicenseToValidate

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ValidateLicenseResponse of type(s) application/json
{
    "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"
        }
    ]
}
string
site_id
Required

site_id

array of object
valid_licenses
Optional

List of valid licenses

array of object
invalid_licenses
Optional

List of invalid licenses


401

Unauthorized

Returns ErrorResponse of type(s) application/json
"ErrorResponse Object"
array of string
parameter_list
Optional

parameter_list

string
message
Optional

message

string
major_error_code
Optional

major_error_code

string
minor_error_code
Optional

minor_error_code


403

Forbidden

Returns ErrorResponse of type(s) application/json
"ErrorResponse Object"
array of string
parameter_list
Optional

parameter_list

string
message
Optional

message

string
major_error_code
Optional

major_error_code

string
minor_error_code
Optional

minor_error_code


404

Not Found

Returns ErrorResponse of type(s) application/json
"ErrorResponse Object"
array of string
parameter_list
Optional

parameter_list

string
message
Optional

message

string
major_error_code
Optional

major_error_code

string
minor_error_code
Optional

minor_error_code


500

Internal Server Error

Returns ErrorResponse of type(s) application/json
"ErrorResponse Object"
array of string
parameter_list
Optional

parameter_list

string
message
Optional

message

string
major_error_code
Optional

major_error_code

string
minor_error_code
Optional

minor_error_code


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/vcf/license-mgmt/api/v1/tenants/{tenant_id}/licenses/validate