Zum Hauptinhalt springen
POST
/
v1
/
public
/
accounts
/
{account_id}
/
dns-records
Erstellen DNS Eintrag
curl --request POST \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/dns-records \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "<string>",
  "name": "<string>",
  "type": "<string>",
  "value": "<string>",
  "prio": 32767,
  "ttl": 3600
}
'
{
  "id": 123,
  "name": "<string>",
  "ttl": 123,
  "type": "<string>",
  "value": "<string>",
  "is_system_managed": false,
  "priority": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt

Use this file to discover all available pages before exploring further.

Autorisierungen

Authorization
string
header
erforderlich

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

Pfadparameter

account_id
string<uuid>
erforderlich

Body

application/json

Anfrage Schema for creating a DNS record.

domain
string
erforderlich
name
string
erforderlich
type
string
erforderlich
value
string
erforderlich
prio
integer | null
Erforderlicher Bereich: 0 <= x <= 65535
ttl
integer
Standard:3600
Erforderlicher Bereich: x >= 1

Antwort

id
integer
erforderlich
name
string
erforderlich
ttl
integer
erforderlich
type
string
erforderlich
value
string
erforderlich
is_system_managed
boolean
Standard:false
priority
integer | null