Files
lightning/doc/lightning-deldatastore.7.md
Rusty Russell dfe2693bbd datastore: docs, schemas, and a test.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-08-25 10:06:31 +02:00

1.1 KiB

lightning-deldatastore -- Command for removing (plugin) data

SYNOPSIS

deldatastore key

DESCRIPTION

The deldatastore RPC command allows plugins to delete data it has stored in the c-lightning database.

The command fails if the key isn't present.

RETURN VALUE

On success, an object is returned, containing:

  • key (string): The key which has been removed from the datastore
  • hex (hex): The hex data which has removed from the datastore comment: # (GENERATE-FROM-SCHEMA-END)

The main cause of failure is an non-existing entry.

The following error codes may occur:

  • -32602: invalid parameters, including non-existing key.

AUTHOR

Rusty Russell <rusty@rustcorp.com.au> is mainly responsible.

SEE ALSO

lightning-listdatastore(7), lightning-datastore(7)

RESOURCES

Main web site: https://github.com/ElementsProject/lightning