Save settings for a specific domain

Save specific settings or preferences for a domain, such as accepting warnings. The response includes a unique ID for tracking the setting change.

Headers

Accept Example
Content-Type Example

Body

required
application/json
domain string · enum required
example13.com
example14.com
example15.com
key string required
value boolean required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/domain-preferences
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/domain-preferences" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "domain": "example13.com",
    "key": "string",
    "value": true
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "message": "string",
    "domain": "string",
    "key": "string",
    "value": true
  }
}
Request Body
{
  "domain": "example13.com",
  "key": "string",
  "value": true
}