Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Telnyx API key supplied as Authorization: Bearer <token>. In production, auth may be validated by the API gateway and forwarded via Telnyx auth headers.

Path Parameters

domain_id
string<uuid>
required

Email domain UUID

Response

DKIM key rotated

data
object
required

Result of rotating a domain's DKIM key. The new key is active and signing switches to it immediately; the previous key is retired to a retiring state (retained, not revoked) so it can be revoked after the DNS propagation grace period. Selectors are fixed, so the DKIM DNS record's TXT value is replaced in place at the shared <selector>._domainkey.<domain> host — old_selector_retained is false and the returned dns_records carry the new value the customer must publish promptly.

Example: