cbrx_firmware (remove)

Remove the firmware file from the API local storage on the host running the API.

Syntax: see Call Structure

{

"method": "cbrx_firmware",

"params": [

"remove","filename"

]

}

filenameis the name of the firmware file.

Returns:

{

"result": true

}

Example

Example JSON-RPC request:

Copy
{
  "jsonrpc": "2.0",
  "id": "0",
  "method": "cbrx_firmware",
  "params": [
    "remove",
    "CambrionixFirmware-v1.86-un.enfir"
  ]
}

Example successful response:

Copy
{
  "jsonrpc": "2.0",
  "id": "0",
  "result": true
}