Naar hoofdinhoud gaan
POST
/
v1
/
public
/
accounts
/
{account_id}
/
dns-records
DNS-record maken
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.

Autorisaties

Authorization
string
header
vereist

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

Padparameters

account_id
string<uuid>
vereist

Body

application/json

Aanvraagschema voor het maken van een DNS-record.

domain
string
vereist
name
string
vereist
type
string
vereist
value
string
vereist
prio
integer | null
Vereist bereik: 0 <= x <= 65535
ttl
integer
standaard:3600
Vereist bereik: x >= 1

Respons

id
integer
vereist
name
string
vereist
ttl
integer
vereist
type
string
vereist
value
string
vereist
is_system_managed
boolean
standaard:false
priority
integer | null