deleteEndpoint
This method deletes an endpoint.
Note
Deleting an endpoint under Custom Groups
moves it to the Deleted
group. For managed endpoints, an Uninstall
task is automatically generated. To permanently remove an endpoint, call the method twice using the same ID.
Services
This method requires you to place the {service}
name in the API URL. The allowed services are:
computers
, for "Computers and Virtual Machines"virtualmachines
, for "Virtual Machines"
For example, the request URL for the virtual machines
service is:
https://YOUR-HOSTNAME/api/v1.0/jsonrpc/network/virtualmachines
Parameters
Parameter | Type | Optional | Description |
---|---|---|---|
| String | No | The ID of the endpoint |
Return value
This method does not return any value.
Example
Request:
{ "params": { "endpointId" : "559bd152b1a43d291b7b23d8" }, "jsonrpc": "2.0", "method": "deleteEndpoint", "id": "787b5e36-89a8-4353-88b9-6b7a32e9c87f" }
Response:
{ "id": "787b5e36-89a8-4353-88b9-6b7a32e9c87f", "jsonrpc":"2.0", "result": null }