用途:管理域名注册人资料(registrant profile),即域名注册所需的联系人信息(WHOIS 数据)。购买域名前至少需要一个资料。
主要能力:列出资料、创建资料、更新资料、删除资料。
使用方式:始终使用 npx zeabur@latest 调用 Zeabur CLI,不要直接使用 zeabur 或其他安装方式;若 npx 不可用,需先安装 Node.js。
列出资料:npx zeabur@latest domain registrant list -i=false
创建资料:npx zeabur@latest domain registrant create --first-name John --last-name Doe --email john@example.com --phone "+1.5551234567" --address1 "123 Main St" --city "San Francisco" --state CA --country US --postal-code 94105 -i=false
必填字段:名(--first-name)、姓(--last-name)、邮箱(--email)、电话(--phone)、地址(--address1)、城市(--city)、州/省(--state)、国家(--country,ISO 3166-1 alpha-2)、邮编(--postal-code)。可选字段:组织(--organization)。
更新资料:npx zeabur@latest domain registrant update --id <profile-id> --email new@example.com -i=false。更新时所有字段均为可选,仅修改提供的字段。
删除资料:npx zeabur@latest domain registrant delete --id <profile-id> -y -i=false
适用场景:需要为域名注册准备或维护联系人资料时使用。相关技能:zeabur-domain-register(搜索、购买和续订域名,需要注册人资料)、zeabur-domain-dns(管理 DNS 记录)。
限制:资料未提供价格、平台支持范围、配额或错误处理等更多细节。