Install a Veeam Cloud Connect License

In this article

    You can install a new license installed on a Veeam Cloud Connect server with the specified system ID.

    Request

    To install a license, send the PUT HTTPS request to the URL of its resource.

    HTTP Request

    PUT https://<hostname>:1281/v2/licensing/cloudconnectLicenses/{ID}

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

    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 Service Provider Console returns a message for an action.

    Example Install a Veeam Cloud Connect License

    The following example installs a license installed on a Veeam Cloud Connect server with system ID 514c45eb-9543-4799-8003-1e59385b774c.

    Request:

    PUT https://localhost:1281/v2/licensing/cloudconnectLicenses/514c45eb-9543-4799-8003-1e59385b774c

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    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:

    "Cloud Connect license key has been installed."