Update Hosting Auto Renew
update_hosting_auto_renewEnable or disable automatic renewal for a domain's paid hosting plan. Use it to keep the plan active at its price or let it expire on its current end date.
Instructions
Turn auto-renew on or off for a domain's paid hosting (Secure Static Hosting, Cloud for WordPress or Link in Bio), the same switch as on the website. Off: the plan stays active until its expireDate and is not charged again (a trial ends without a charge); after that the hosting is removed, except a paid Link in Bio page, which moves to the free plan with its content kept. On: it renews at the plan price. The response's message says what happens next; tell the user. Free plans never renew (NOT_SUPPORTED_FOR_PRODUCT). get_hosting shows the current setting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain whose hosting this is. | |
| dry_run | No | Validate and preview without changing anything. | |
| auto_renew | Yes | true to renew automatically, false to let the plan end at its expireDate. |