Adding License
This section explains how to add a new license.
Request
POST https://<hostname>/api/v1/license |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
None.
Request Body
Property | Type | Description |
base64License | string | Sets the base64License string. |
Request Example
Request: POST https://<hostname>/api/v1/license
Request Header: Authorization: Bearer <Access-Token>
Request Body: { "data:application/octet-stream;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPExpY2Vuc2VzPjxMaWNlbnNlPjwhW0NEQVRBW0NvbXBhbnk9VmVlYW0gU29mdHdhcmUNCkRlc2NyaXB0aW9uPUNvcHlyaWdodCAyMDE5IFZlZWFtIFNvZnR3YXJlLiBBbGwgUmlnaHRzIFJlc2VydmVkLiBVc2Ugb2Ygc29mdHdhcmUgaXMgZ292ZXJuZWQgYnkgdGhlIHNvZnR3YXJlIGnbI2Vuc2UgYWdyZWVtZW50Lg0KRS1tYWlsPXJkQHZlZWFtLmNvbQ0KSW5zdGFuY2VzPTEwMA0KTGljZW5zZSBJRD02Rjk2MTlGRi04Qjg2LUQwMTEtQjQyRC0wMENGNEZDOTY0RkYNCkxpY2Vuc2UgZXhwaXJlcz0wMS8wNC8yMDIwDQpMaWNlbnNlIHR5cGU9U3Vic2NyaXB0aW9uDQpQYWNrYWdlPUF6dXJlDQpTdXBwb3J0IElEPTEyMzQ1Njc4DQpTaWduYXR1cmU9M0MwMDFEMDdBREYxQjE2RTI0MDgzNjJFQTIxQzM2MTc4RjA2MkUzRTlEQUI5NTJDNzRFQzg3RUJGNTM0QzZENDhFMkE5NDJGQTUwQ0E2MjJFQ0ExOTczNTdBRTUyNDBDMUJBNzg4NkNBNEIyM0VCMThCNjU0MUExNkZEREY4RUI4OTlDQUY4QzBCQjQ1QzJGNzUxOEEyMTUzNTA0RTJGMDY0Mzc3RjdENjJBNjhGRkU5MkI5NjQ2RkY1M0ZCQjJDQjQ3QjVENzcyNjQzMzM4QzIzRkJBNjdBQkUxODdEMjg3MTJENkZDNUJGMUM2RURGRDcwNTNFOEJBRDc1OUIwQQ0KXV0+PC9MaWNlbnNlPjwvTGljZW5zZXM+DQo=" } |
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 (OK).
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
Property | Type | Description |
|---|---|---|
licenseType | string | Shows the type of the license. |
instancesUses | integer | Shows the number of used instances. |
instances | integer | Shows how many instances the installed license is able to protect. |
company | string | Shows the name of the organization to which the license was issued. |
string | Shows the email of the organization. | |
licenseExpires | string | Shows the date when the license expires. |
licenseId | string | Shows the identification number of the license. |
supportId | string | Shows the support identification number. |
gracePeriodDays | integer | Shows the grace period that applies once the license if expired. |
Response Example
Response: 200 OK
Response Body: { "licenseType": "Subscription", "instancesUses": 1, "instances": 100, "company": "Veeam Software", "email": "rd@veeam.com", "licenseExpires": "2020-04-01T00:00:00", "licenseId": "6F9619FF-8B86-D011-B42D-00CF4FC964FF", "supportId": "12345678", "gracePeriodDays": 30 } |