메인 콘텐츠로 건너뛰기
POST
/
v1
/
public
/
accounts
/
{account_id}
/
dns-records
DNS 레코드 생성
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.

인증

Authorization
string
header
필수

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

경로 매개변수

account_id
string<uuid>
필수

본문

application/json

DNS 레코드 생성을 위한 요청 스키마.

domain
string
필수
name
string
필수
type
string
필수
value
string
필수
prio
integer | null
필수 범위: 0 <= x <= 65535
ttl
integer
기본값:3600
필수 범위: x >= 1

응답

id
integer
필수
name
string
필수
ttl
integer
필수
type
string
필수
value
string
필수
is_system_managed
boolean
기본값:false
priority
integer | null