1. Domains
Reseller Stack Public APIs
  • Customers
    • List customers
      GET
    • Create customer
      POST
    • Get customer
      GET
    • Update customer notes
      PATCH
    • Update customer status
      PATCH
    • Update billing details
      PATCH
  • Geo
    • List countries
      GET
    • List states
      GET
  • Pricing
    • List TLD pricing
      GET
    • Update TLD pricing
      PATCH
    • Set TLD featured
      PATCH
    • Apply bulk margin
      POST
    • Reorder TLD pricing
      POST
  • Domains
    • List domains
      GET
    • Check domain availability
      POST
    • Checkout domain cart (single domain)
      POST
    • Checkout domain cart (bulk)
      POST
    • Get domain
      GET
    • Toggle transfer lock
      PATCH
    • Toggle auto-renew
      PATCH
    • Preview renewal price
      GET
    • Renew domain now
      POST
    • Get domain history
      GET
  • Orders
    • List orders
      GET
    • Get order
      GET
  • DNS
    • List DNS records
    • Add DNS records
    • Update DNS record
    • Delete DNS record
    • Update nameservers
    • Reset nameservers
    • List DNSSEC records
    • Add DNSSEC record
    • Delete DNSSEC record
  • Webhooks
    • Delivered when domain.order.success fires
    • Delivered when domain.order.failed fires
    • Delivered when domain.renewal.success fires
    • Delivered when domain.renewal.failed fires
  • Health check
    GET
  • Get current partner
    GET
  1. Domains

Toggle auto-renew

PATCH
/domains/{id}/auto-renew

Request

Authorization
API Key
Add parameter in header
rs-x-api-key
Example:
rs-x-api-key: ********************
or
Path Params

Body Params application/json

Examples

Responses

🟢200
application/json
Auto-renew updated
Bodyapplication/json

🟠401
🟠403
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/domains//auto-renew' \
--header 'rs-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "autoRenew": false
}'
Response Response Example
{
    "status": 200,
    "message": "Auto-renew updated",
    "data": null
}
Modified at 2026-08-28 13:12:25
Previous
Toggle transfer lock
Next
Preview renewal price
Built with