Kaspersky Endpoint Security 11 for Windows

Working with the API

April 11, 2023

ID 189531

It is not possible to restrict access to the application through the REST API using Password Protection. For example, it is not possible to block a user from disabling protection through the REST API. You can configure Password Protection through the REST API and restrict user access to the application through the local interface.

To manage the application through the REST API, you need to run the REST client under the account that you specified when installing the application with REST API support. You can select only one user to work with the REST API.

OPEN THE REST API DOCUMENTATION

Managing the application through the REST API consists of the following steps:

  1. Get the current values of the application settings. To do so, send a GET request.

    Example:

    GET http://localhost:6782/kes/v1/settings/ExploitPrevention

  2. The application will send a response with the structure and values of settings. Kaspersky Endpoint Security supports XML- and JSON formats.

    Example:

    {

    "action": 0,

    "enableSystemProcessesMemoryProtection": true,

    "enabled": true

    }

  3. Edit the application settings. To do so, send a POST request. Use the settings structure received in response to the GET request.

    Example:

    POST http://localhost:6782/kes/v1/settings/ExploitPrevention

    {

    "action": 0,

    "enableSystemProcessesMemoryProtection": false,

    "enabled": true

    }

  4. The application will apply the changes in the settings and send a response containing the application configuration results.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.