You can сancel Kaspersky Security service registration using requests to VMware NSX-T Manager REST API. Communication with VMware NSX-T Manager REST API Manager is performed over HTTP. So send requests to API you can use any app or plug-in for HTTP requests, for example, the cURL command line tool.
In the Authorization request header, specify VMware NSX-T Manager user account parameters in a string:
<User account name>:<password>
The string must be encoded with Base64 encoding scheme. Basic authentication is used.
How to cancel registration of the Kaspersky File Antimalware Protection service
Send the request:
DELETE https://<IP address>/api/v1/serviceinsertion/services/<ID>?cascade=True
where:
- IP-адрес — VMware NSX-T Manager IP address.
- ID — identification number assigned to the Kaspersky File Antimalware Protection service.
To get the Kaspersky File Antimalware Protection service ID, send the request:
GET https://<IP address>/api/v1/serviceinsertion/services
The response will be returned in the JSON format. The Kaspersky File Antimalware Protection service ID will be specified in the id parameter in the section with parameter display_name: Kaspersky File Antimalware Protection.
Example of using the cURL tool:
curl -i -S -s -o - --noproxy '*' --insecure -u admin:1 -X DELETE https://172.16.16.21/api/v1/serviceinsertion/services/e8f05b8d-fb90-4edc-91a6-5034091155ad?cascade=True
If the removal is successful, Kaspersky File Antimalware Protection will disappear from the list.
How to cancel the Kaspersky Network Protection registration
Send the request:
DELETE https://<IP address>/api/v1/serviceinsertion/services/<ID>?cascade=True
where:
- IP-адрес — VMware NSX-T Manager IP address.
- ID — identification number assigned to Kaspersky Network Protection.
To get the Kaspersky Network Protection service ID, send the request:
GET https://{IP address}/api/v1/serviceinsertion/services
The response will be returned in the JSON format. The Kaspersky Network Protection service ID will be specified in the id parameter in the section with parameter display_name: Kaspersky Network Protection.
Example of using the cURL tool:
curl -i -S -s -o - --noproxy '*' --insecure -u admin:1 -X DELETE https://172.16.16.21/api/v1/serviceinsertion/services/12971c95-0cb9-4878-bc4c-6c9b52f97850?cascade=True
If the removal is successful, Kaspersky Network Protection will disappear from the list.