Galon Cloud
Galon API v1

/projects/{project_id}/domains/{domain}/auto-renew

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

PUT /projects/{project_id}/domains/{domain}/auto-renew

Turn automatic renewal on or off

Administrator SESSION route (console). Served only when the service is open to the account (404 not_found otherwise). Non-administrator member: 403. Turning it on applies the displayed price (renewal quote).

Console session only (signed-in console).

Parameters

NameInTypeDescription
project_idpathstring · requiredproject identifier
domainpathstring · requireddomain name

Request body

application/json

FieldTypeDescription
enabledboolean · required
quote_idstring

Responses

StatusDescriptionBody
200Setting savedobject
409Quote expiredError
401Key missing or invalidError

Examples

curl

curl -X PUT "$GALON_API_BASE/projects/<project_id>/domains/<domain>/auto-renew" \
  -H "Authorization: Bearer $GALON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled": true}'