License Management
This API is used for managing Licenses. Various operations listed below are supported by this API:
CREATE: Create a license for given subscriptionUPDATE: Update name or quantity of a licenseDELETE: Delete a licenseASSOCIATE: Associate license with VCF ops instanceDISSOCIATE: Dissociate license from VCF ops instance
The id of the tenant
Show optional properties
{
"operation": "CREATE"
}
{
"operation": "CREATE",
"license_create_request": [
{
"serial_number": "b315e640-f4c5-4f42-a8f9-450312eae2f9",
"name": "Name",
"quantity": 70
}
]
}
The operation to perform for a license, options are:
CREATE: Create license for given subscriptionUPDATE: Update name or quantity of a licenseDELETE: Delete a licenseASSOCIATE: Associate license with VCF ops instanceDISSOCIATE: Dissociate license from VCF ops instance
Request json to create a new license.
Request json to update a license.
Request json to delete one or more licenses
Request json to associate or disassociate a license with vcf ops instance.
Request json to associate or disassociate a license with vcf ops instance.
OK
{
"operation": "CREATE",
"license_create_response": [
{
"id": "b315e640-f4c5-4f42-a8f9-450312eae2f9",
"name": "Share license - VMware Cloud Foundation (cores) - 6",
"quantity": 900,
"status": "ACTIVE",
"next_expiry_date": "2025-10-19T10:46:58Z",
"version": "v2",
"product": {
"name": "VMware Cloud Foundation (cores)",
"uom": "CORE",
"uom_display_name": "Cores"
},
"is_default": false,
"subscriptions": [
{
"id": "3da7c8ab-89b0-4c0a-8a87-291d884a248f",
"serial_number": "411001-1",
"end_date": "2035-01-01T07:59:59Z",
"quantity": 50000
}
]
}
]
}
The operation to perform for a license, options are:
CREATE: Create license for given subscriptionUPDATE: Update name or quantity of a licenseDELETE: Delete a licenseASSOCIATE: Associate license with VCF ops instanceDISSOCIATE: Dissociate license from VCF ops instance
license_create_response
license_update_response
Response of the delete license operation.
license_associate_response
license_dissociate_response
Bad Request
{
"parameter_list": [
"string"
],
"message": "string",
"major_error_code": "string",
"minor_error_code": "string"
}
parameter_list
message
major_error_code
minor_error_code
Unauthorized
"ErrorResponse Object"
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 '{"operation:"string"}' https://{api_host}/vcf/license-mgmt/api/v1/tenants/{tenant_id}/licenses