{
  "$schema": "../rpc-schema-draft.json",
  "type": "object",
  "rpc": "delnetworkevent",
  "title": "Command for removing a listnetworkevents entry",
  "added": "v25.12",
  "description": [
    "The **delnetworkevent** RPC command removes a single event from **listnetworkevents**, using the uniquely-identifying *created_index*.",
    "",
    "This command is mainly used by the *autoclean* plugin (see lightningd-config(7)), as these database entries are only kept for your own analysis, removing them has no effect on the running of your node."
  ],
  "request": {
    "required": [
      "created_index"
    ],
    "additionalProperties": false,
    "properties": {
      "created_index": {
        "type": "u64",
        "description": [
          "The unique created_index of the entry.."
        ]
      }
    }
  },
  "response": {
    "required": [],
    "additionalProperties": false,
    "properties": {}
  },
  "errors": [
    "The following errors may be reported:",
    "",
    "- 1402: The listnetworkevents specified does not exist."
  ],
  "author": [
    "Rusty Russell [rusty@rustcorp.com.au](mailto:rusty@rustcorp.com.au) is mainly responsible."
  ],
  "see_also": [
    "lightning-autoclean(7)"
  ],
  "resources": [
    "Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning)"
  ]
}
