Skip to main content
DELETE
Delete Energy Rule

Delete Energy Rule

Deletes a rule. No more refills are made for it, and the address becomes free for a new energy rule. Energy already bought is not taken back: those rentals run until the end of their hour. Past refill orders stay in your order history. Requires the buy_energy scope. To stop refills for a while without losing the rule, pause it instead.

Path parameters

number
required
Rule ID — the id from Create or List Energy Rules

Response

string
ok

Example

Response

Errors