core-lightning/doc/lightning-delexpiredinvoice.7.md
Rusty Russell eb6b8551d4 tools/fromschema.py: don't try to handle more complex cases.
We only handle top-level objects with an array of objects:
make sure it is one before we call the routines.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-01-30 15:15:41 -06:00

898 B

lightning-delexpiredinvoice -- Command for removing expired invoices

SYNOPSIS

delexpiredinvoice [maxexpirytime]

DESCRIPTION

The delexpiredinvoice RPC command removes all invoices that have expired on or before the given maxexpirytime.

If maxexpirytime is not specified then all expired invoices are deleted.

RETURN VALUE

On success, an empty object is returned.

AUTHOR

ZmnSCPxj <ZmnSCPxj@protonmail.com> is mainly responsible.

SEE ALSO

lightning-delinvoice(7), lightning-autoclean-status(7)

RESOURCES

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