Log access to domain settings

Log when you interact with or view settings for a specific domain, including DNS changes or the domain's presence in the system. Use the `domain_id` obtained from GET /api/redirects.

Domain Services Domains

Context

Used in the dashboard

/

Workflow links

Requires

Headers

Accept Example
Content-Type Example

Body

required
application/json
access_type string required · Example: dns_edit
domain_id string required · Example: 21016
domain_name string required · Example: example.com

Responses

200
data object required
data.message string required · Example: Access recorded

Human-readable message.

requestId string required · Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba

Unique request identifier (UUID).

success boolean required · Example: true

True for successful responses.

timestamp string required · Example: 2026-02-10T00:00:00.000Z

ISO 8601 timestamp (UTC).

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": "21016",
    "domain_name": "example.com",
    "access_type": "dns_edit"
  }'
Response
{
  "success": true,
  "timestamp": "2026-02-10T00:00:00.000Z",
  "requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
  "data": {
    "message": "Access recorded"
  }
}
Request Body Example 1
{
  "domain_id": "21016",
  "domain_name": "example.com",
  "access_type": "dns_edit"
}