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

Upload License

You can upload a license to Veeam Service Provider Console.

Request

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

HTTP Request

POST https://<hostname>: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 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 response to an action.

Example Upload License

The following example uploads a license file to Veeam Service Provider Console.