createIsolateEndpointTask
This method creates a task to isolate the specified endpoint.
Important
This method has been updated to version 1.1. For information applicable to version 1.0, refer to this section.
Parameters
Parameter | Type | Optional | Description |
---|---|---|---|
| String | No | The ID of the endpoint to be isolated. |
Return value
This method returns an array of parent task ids of the created tasks.
Example
Request:
{ "id": "0df7568c-59c1-48e0-a31b-18d83e6d9810", "jsonrpc": "2.0", "method": "createIsolateEndpointTask", "params": { "endpointId" : "5b680f6fb1a43d860a7b23c1" } }
Response:
{ "id": "5399c9b5-0b46-45e4-81aa-889952433d86", "jsonrpc":"2.0", "result": [ "652feab6b9684f3ba80685d5" ] }
Version 1.0
Parameters
Parameter | Type | Optional | Description |
---|---|---|---|
| String | No | The ID of the endpoint to be isolated |
Return value
This method returns a Boolean which is True if the operation was successful.
Example
Request:
{ "id": "0df7568c-59c1-48e0-a31b-18d83e6d9810", "jsonrpc": "2.0", "method": "createIsolateEndpointTask", "params": { "endpointId" : "5b680f6fb1a43d860a7b23c1" } }
Response:
{ "id": "0df7568c-59c1-48e0-a31b-18d83e6d9810", "jsonrpc": "2.0", "result": true }