License Management
This API is used for managing Licenses. Various operations are supported under this as follows:
- CREATE: Create license for given subscription
- UPDATE: Update name or quantity of license
- DELETE: Delete a license
- ASSOCIATE: Associate license with VCF Ops instance
- DISSOCIATE: Dissociate license from VCF Ops instance
{
"operation": "CREATE",
"license_create_request": [
{
"serial_number": "b315e640-f4c5-4f42-a8f9-450312eae2f9",
"name": "Name",
"quantity": 70
}
]
}
The operation for Licenses Management API
Create License Request for License Operation API
Update License Request for License Operation API
Delete License Request for License Operation API
Associate/Dissociate License Request for License Operation API
Associate/Dissociate License Request for License Operation API
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 for Licenses Management API
license_create_response
license_update_response
Delete License Response for License Operation API
license_associate_response
license_dissociate_response
Bad Request
"ErrorResponse Object"
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 '[{}]' https://{api_host}/vcf/license-mgmt/api/v1/tenants/{tenant_id}/licenses