MailMasker API
Claude Code
DKIM signing keys

Cancel a new signing key

DELETE/api/v1/domains/:domain/dkim/:selector

Who can use this: Site adminsAs Markdown

Removes the key's DNS record and the key itself, and drops it from the list altogether, where a retired key would stay listed.

Parameters

NameWhereWhat it is
domain required path The domain.e.g. example.com
selector required path The pending key's selector.e.g. 20261103a

Good to know

  • Only a pending key can be cancelled; any other answers 409, and retire is the way to take it out of use.