EMI.CONF.DEL
This method marks the specified EMI.CONF key and all of its children to be deleted in the “new” configuration tree. The changes take effect in the system only after commit (please see emi.conf.commit).
NOTE! If the specified key contains sub keys, those keys will be deleted as well.
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| session | JSON String | yes | Session ID |
| key | JSON String | yes | Specify EMI.CONF key to be deleted |
Response
No response result returned if request is successful.
Error Codes
| Reference | Description |
|---|---|
| EOK | No errors (contains warnings) |
| ENOTFOUND | The specified EMI.CONF key not found |
| EGENERAL | Some other error |
| ESESSION | Session with the given ID is not found |
Examples
Request to EMI-RPC Server:
{
"EMI-RPC": "1.0",
"id": 2,
"method": "emi.conf.del",
"params":
{
"session":"",
"key":"aa.bb.cc"
}
}
Response from EMI-RPC Server:
{
"EMI-RPC": "1.0",
"id": 2
}
