Allow editing of DNS settings for a specific domain

Grant permission to edit DNS settings for a specific domain. It returns a unique ID (requestId) that may be needed for subsequent actions, such as in the billing process.

Headers

Accept Example
Content-Type Example

Body

required
application/json
domain_id string required
domain_name string required
access_type string required

Responses

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