Disable or enable automatic renewal for multiple domains

Mass manage automatic domain renewal settings. This is useful when you want to disable renewal for a group of domains or enable it again. The API returns a `jobId` to track the action's status via other API calls.

Headers

Accept Example
Content-Type Example

Body

required
application/json
domainIds array required
enable boolean required
confirmCancelPending boolean

Responses

200
success boolean
timestamp string
requestId string
data object
504
error string
message string
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/domains/bulk/autorenew
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/domains/bulk/autorenew" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "domainIds": [
      "string"
    ],
    "enable": true,
    "confirmCancelPending": true
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "jobId": "string",
    "message": "string",
    "domainsCount": 0
  }
}
Request Body
{
  "domainIds": [
    "string"
  ],
  "enable": true,
  "confirmCancelPending": true
}