# set_autorenew

> Turn automatic renewal on or off for a hosting, VPS or other non-domain service.

- Tier: W
- Required scope: write:services
- Annotations: idempotentHint
- Docs: https://api.inleed.com/tools/set-autorenew

## Description

Turn automatic renewal on or off for a hosting, VPS or other non-domain service. Not for domains: a registered domain refuses here with `autorenew_not_allowed` — for "stop auto-renewing example.se" use `set_domain_autorenew`. This only sets the flag for the next cycle — it charges nothing now and does not renew the service today; for a price and a new expiry use `get_renewal_quote`. It may be refused: only yearly-billed services can toggle, the auto-renew terms must already be accepted, and a service expiring within 14 days cannot be switched on — those come back as `conflict` or `insufficient_scope`, not a silent no-op.

## Input schema

- `input` — string. A domain, email address, website URL, or Inleed service id — e.g. example.com or a numeric service id like 9900001.
- `inputs` — string[]. Several services in one call (2–25 identifiers, each as for input). Each is set independently; a refused one is reported in items[] and never stops the others.
- `enabled` — boolean (required). true to enable automatic renewal, false to disable it.

## Example call

```json
{
  "name": "set_autorenew",
  "arguments": {
    "input": "example.se",
    "enabled": true
  }
}
```

