![]() |
![]()
| ![]() |
![]()
NAMElightning-disableoffer -- Command for removing an offer SYNOPSISdisableoffer offer_id DESCRIPTIONThe disableoffer RPC command disables an offer, so that no further invoices will be given out. We currently don't support deletion of offers, so offers are not forgotten entirely (there may be invoices which refer to this offer).
RETURN VALUENote: the returned object is the same format as listoffers. On success, an object is returned, containing:
AUTHORRusty Russell <rusty@rustcorp.com.au> is mainly responsible. SEE ALSOlightning-enableoffer(7), lightning-offer(7), lightning-listoffers(7) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli disableoffer -k "offer_id"="offeridl23000002300000230000023000002300000230000023000002300000" { Response: {
|