Update automatic renewal setting for a domain

Change the automatic renewal setting for a specific domain. This ensures your domain does not expire or allows you to manually disable auto-renewal. The API returns a 'requestId' to track the update.

Path Parameters

id integer · min: 1 required Example

Unique id identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
registrarlock string
reglock string
autorenew string
epp_code string

Responses

200
success boolean
timestamp string
requestId string
data object
400
error string
message string
code string
timestamp string
requestId string
syncTriggered boolean
domainStatus string
POST https://cloud.hostup.se/api/domain-edit/{id}
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/domain-edit/10867" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "registrarlock": "string",
    "reglock": "string",
    "autorenew": "string",
    "epp_code": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "message": "string",
    "success": true,
    "syncTriggered": true,
    "domainStatus": "string"
  }
}
Request Body
{
  "registrarlock": "string",
  "reglock": "string",
  "autorenew": "string",
  "epp_code": "string"
}