メインコンテンツへスキップ
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