Help Center
Choose product document...
Veeam Availability Console 2.0 Update 1
RESTful API Reference

Upload License

You can upload a license to Veeam Availability Console.

Request

To upload a license, send the POST HTTPS request to the URL of the /Upload/License resource.

HTTP Request

POST https://<Availability-Console>:1281/v2/Upload/License

Request Headers

The request must contain the following headers:

Header

Value

Authorization

Bearer <Access-Token>

Content-Type

multipart/form-data; boundary=Random

Request Body

In the request body, the client must send the path and name of a license file in the following format:

--Random

Content-Disposition: form-data; name="file"; filename="FILE_NAME"

 

<@INCLUDE *FILE_PATH\FILE_NAME*@>

--Random--

 

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 Success.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the request body message: application/json; charset=utf-8

Response Body

In the response body, Veeam Availability Console returns a response to an action.

Example Upload License

The following example uploads a license file to Veeam Availability Console.

Request:

POST https://localhost:1281/v2/Upload/License

 

Request Header:

Authorization: Bearer <Access-Token>

Content-Type: multipart/form-data; boundary=Random

 

Request Body:

--Random

Content-Disposition: form-data; name="file"; filename="license.lic"

 

<@INCLUDE *C:\Users\administrator\license.lic*@>

--Random--

 

Response Code:

200 Success

 

Response Body:

"License has been installed."

Veeam Large Logo

Deployment Guide

Administrator Guide for Service Providers

User Guide for Service Providers

Quick Start Guide for Service Providers

Administrator Guide for Enterprises

User Guide for Enterprises

Quick Start Guide for Enterprises

RESTful API Reference