renew_subdomain
Extend a subdomain you own before it expires. Subdomains are lent for a period, not given: agent-created records last one month and user records three. Nothing emails an agent, so read expires_at from list_subdomains and call this before that date. One call resets the clock from today. Renewal only opens in the last two weeks before expires_at — an earlier call is refused and tells you the date it opens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Root domain (e.g. 'sitey.my') | |
| subdomain | Yes | Subdomain name (e.g. 'demo') | |
| owner_token | No | The owner token you were given when you created the record (starts with anon_). Omit it only if you have an API key, or if the record predates tokens and was claimed from this same IP address. Creating without one mints a new one and returns it once. |