Help Center
Choose product document...
Veeam Availability Console 2.0 Update 1
RESTful API Reference

Enable/Disable License Auto Update

You can enable or disable license auto update.

Request

To enable or disable an auto update of a license, send the PATCH HTTPS request to the URL of the /LicenseSettings resource.

HTTP Request

PATCH https://<Availability-Console>:1281/v2/LicenseSettings

Request Headers

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

Request Body

In the request body, the client must send the autoupdateEnabled property with the necessary value:

  • true – if you want to enable license auto update
  • false – if you want to enable license auto update

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 message for an action.

Example Enable/Disable License Auto Update

The following example enables license auto update.

Request:

PATCH https://localhost:1281/v2/LicenseSettings

 

Request Header:

Authorization: Bearer <Access-Token>

 

Request Body:

{

 "autoupdateEnabled": true

}

 

Response Code:

200 Success

 

Response Body:

"License settings updated"

Veeam Large Logo

Deployment Guide

Administrator Guide for Service Providers

User Guide for Service Providers

Quick Start Guide for Service Providers

Administrator Guide for Enterprises

User Guide for Enterprises

Quick Start Guide for Enterprises

RESTful API Reference