[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Validate And Add License V2
DescriptionThis API is used to validate and add license to locker store.
Request
URLURL
https://localhost:8080/lcm/locker/api/v2/license/validate-and-add
Request Body
Request Body
{
"alias": "license1",
"serialKey": "<license key>",
"vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
}
string
alias
Optional
License Alias
string
serialKey
Optional
Serial Key
string
transactionId
Optional
string
vmid
Optional
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
LicenseValidateResponseDTO
of type(s) */*
{
"action": "VALIDATE_AND_ADD_LICENSE",
"message": "Validate and Add request queued for license license1",
"requestId": "071d88e6-6ef3-4ff3-abd9-21420ff4cca4",
"vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
}
string
action
Optional
Action
string
message
Optional
Message
string
requestId
Optional
Request ID
string
transactionId
Optional
string
vmid
Optional
201 Created
Created
Operation doesn't return any data structure.
Errors
GenericErrorResponseDTO
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
GenericErrorResponseDTO
409
Conflict
GenericErrorResponseDTO
500
Internal Server Error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"alias":"license1","serialKey":"<license key>","vmid":"6c9fca27-678d-4e79-9a0f-5f690735e67c"}' https://localhost:8080/lcm/locker/api/v2/license/validate-and-add
[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager