[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Validate And Add License V2

Description

This API is used to validate and add license to locker store.

Request

Request

URL

URL


post
https://localhost:8080/lcm/locker/api/v2/license/validate-and-add
Copy

Request Body

Request Body

LicenseValidateRequestDTO of type(s) application/json Required

licenseValidateRequestDTO

{
	"alias": "license1",
	"serialKey": "<license key>",
	"transactionId": "string",
	"vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
}
string
alias Optional

License Alias


string
serialKey Optional

Serial Key


string
transactionId Optional

string
vmid Optional
Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

201 Created 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",
	"transactionId": "string",
	"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
Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found



500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"alias":"license1","serialKey":"<license key>","transactionId":"string","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
Feedback

Was this page helpful?