ESET Online Help

Search
Select the topic

UpdateQuantity

Call description

This request updates the quantity for a specified license. You can either increase or decrease the quantity. You need the write permission for the customer.

This API call requires authorization; the user has to be logged in.

Request URL: https://mspapi.eset.com/api/License/UpdateQuantity

This request is a POST call type.

Call structure

{

  "quantity": 0,

  "publicLicenseKey": "string",

}

Call parameters

Parameter

Description

quantity

The seat count for the license.

Mandatory input parameter. A proper value must be set.

publicLicenseKey

Public License ID number in the following format XXX-XXX-XXX.

Mandatory input parameter. A proper value must be set.

Response structure

A successful call returns an empty JSON response.

hmtoggle_plus0Example response

Troubleshooting

ESET MSP Administrator 2 API uses standardized error codes. If you are getting errors or unexpected responses, see the Troubleshooting API for common problems and the list of error codes.

List of error codes