This is an archive version of the document. To get the most up-to-date information, see the current version.

Upload License

In this article

    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."

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.