Getting License
You can get a resource representation of a license installed in Veeam Backup for Microsoft 365.
Request
GET https://<hostname>:4443/v6/License |
Request Headers
The request header must contain an authorization token of the current session.
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
In the response body, the server returns a resource representation of the /License resource. The response body contains the following properties:
Property | Type | Description |
---|---|---|
licenseId | string | ID of the installed license. |
string | Email of the user to which the license was issued. | |
status | string | Status of the installed license. |
expirationDate | UTC | Date and time when the license will expire. |
type | string | Type of the license. For more information about license types, see the Licensing and License Types section of the Veeam Backup for Microsoft 365 User Guide. |
licensedTo | string | Company to which the license was issued. |
contactPerson | string | Name of the user to which the license was issued. |
totalNumber | integer | Total number of units in the license. |
usedNumber | integer | Number of units consumed in the license. |
newNumber | integer | Number of trial units consumed in the license. |
supportId | string | Support ID of the installed license. |
supportExpirationDate | UTC | Date and time when the support contract will expire. |
Example
The example returns a resource representation of the license installed in Veeam Backup for Microsoft 365.
Request: GET https://abc.tech.local:4443/v6/License
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "licenseID": "0374b039-5321-5901-7a45-d46c0327681c", "email": "administrator@tech.com", "status": "Valid", "expirationDate": "2022-09-21T00:00:00Z", "type": "Rental", "licensedTo": "ABC Company", "contactPerson": "Administrator", "totalNumber": 10, "usedNumber": 2, "newNumber": 0, "supportID": "00010101", "supportExpirationDate": "2022-09-21T03:00:00Z" } |