Update settings
PATCH/autoenergy/subscriptions/:address
Apply a partial settings update (idle window, transfer cap, expiry). Only provided fields change. An explicit null removes the transfer cap (quota_max_tx) or the expiry (expire_at), or turns off idle auto-close (idle_hours). Works on closed subscriptions too.
Request
Responses
- 200
- 404
- 422
The updated subscription.
not_found — no such subscription for your account.
Request validation failed (e.g. expire_at in the past, idle_hours outside 24–72, quota_max_tx below 1); detail is an array of field errors.