Get License Settings

In this article

    You can get a representation of a license uploaded to Veeam Service Provider Console.

    Request

    To get a representation of a license, send the GET HTTPS request to the URL of the /licenseSettings resource.

    HTTP Request

    GET https://<hostname>:1281/v2/licenseSettings

    Request Headers

    The request header must contain the authorization token for the current logon session.

    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 representation of the /licenseSettings resource.

    Example Get License Settings

    The following request returns a representation of a license uploaded to Veeam Service Provider Console.

    Request:

    GET https://localhost:1281/v2/licenseSettings

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

     {

       "autoupdateEnabled": false,

       "productName": "Veeam Availability Console",

       "status": "Valid (81 days until expiration)",

       "type": "Rental",

       "licenseEdition": "Standart",

       "licenseString": "Enterprise Plus",

       "licenseTo": "MyCompany",

       "contactPerson": "John Smith",

       "licenseAdministratorEmail": "administrator@mycompany.com"

       "licenseeEmail": "licensee@mycompany.com",

       "licensesCount": 100,

       "licensesUsedCount": 15,

       "cloudConnectType": "Service provider mode",

       "supportId": "147852369"

       "licenseId": "0000004277"

       "expirationDate": "2020-06-30T07:00:00Z",

       "supportExpirationDate": "2020-06-30T07:00:00Z",

       "lastUpdateDate": null,

       "vmCount": 2,

       "workstationCount": 5,

       "serverCount": 1,

       "cloudWorkstationCount": 2,

       "cloudServerCount": 3,

       "cloudconnectBackupVmCount": 8,

       "cloudconnectBackupWorkstationCount": 0,

       "cloudconnectBackupServerCount": 0,

       "cloudconnectReplicationVmCount": 2,

       "package": "Backup",

       "actions": [

         "updateNow"

       ]

     }