Skip to main content
POST
Management API 主机(api.scanova.io)上为账户连接一个新的自定义域名,使用您的原始 Management API 密钥进行身份验证。
string
必填
要连接的域名,例如 links.example.com。协议前缀、结尾斜杠和大小写都会自动规范化——您可以按任意形式发送。
添加域名并不会对其进行验证——响应中的 txt_valuecname_target 是您(或域名所有者)仍需添加的 DNS 记录,is_txt_verified/is_cname_verified 初始为 false。Scanova 会在创建后异步检查该域名的注册商是否支持 Domain Connect 一键设置;该检查完成后,domain_connect_supported 将反映结果。 如果域名无效或已连接到任何账户(唯一性检查不区分大小写),则返回 400。如果账户缺少 CUSTOM_DOMAIN 配额、套餐不活跃、缺少 CUSTOM_DOMAIN_CAN_ADD 权限,或已达到域名数量上限,则返回 403

相关内容

授权

Authorization
string
header
必填

Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.

响应

Domain added.