获取 API 密钥
域域域域域

records.remove()

domain.records.remove(recordId) → Promise<{ ok: true }>

根据其标识符删除一个记录。没有撤消和确认。

DELETEby idno undo
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

const records = await domain.records.list();
const stale = records.find((r) => r.type === "CNAME" && r.name === "old");

if (stale) await domain.records.remove(stale.id);
records = domain.records.list()
stale = next((r for r in records if r["type"] == "CNAME" and r["name"] == "old"), None)

if stale:
    domain.records.remove(stale["id"])

故意故意通过识别特征

不按类型和名称

多个记录可以共享类型和名称 — — 邮件服务器、文本记录。 删除“ 最高值的MX” 将模糊不清,而模糊之处将通过猜测解决。 列出和删除一个特定记录是无法删除错误内容的形状。

清除会做什么

删除停止停止
地址或别名记录网站在那个名字。
邮件记录邮件抵达。 没有什么破损。
签名密钥信息是可核查的,包括已经发送的信息。
政策政策接收器对错误错开邮件做什么

邮件, 更喜欢禁用 ()

mail.disable() 只删除我们所展示的内容, 留下客户自己的记录, 并保留签名密钥。 一次删除邮件记录并不代表任何信息 。

决议者简短地加以简短保存

记录中记录了它一生的缓存。 名字可以在此返回后继续回答 。