EMI.SESSION.END
Method session.end will terminate the session with the given Session ID.
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| session | JSON String | yes | Session ID |
Response
No response result returned if request is successful.
Error Codes
| Reference | Description |
|---|---|
| EOK | No errors (contains warnings) |
| EGENERAL | Some other error |
| ESESSION | Session with the given ID is not found |
Examples
Request to EMI-RPC Server:
{
"EMI-RPC": "1.0",
"id": 1,
"method": "emi.session.end",
"params": {"session": "some_session_id" }
}
Response from EMI-RPC Server:
{
"EMI-RPC": "1.0",
"id": 1
}
