Update DKIM Key Status
PATCH/domains/:domain/dkim-keys/:selector
Update fields of an existing DKIM key pair for the specified domain and selector, for the current customer. Currently, only the status field can be updated. revoked: Indicates that the key is compromised and should not be used. retired: Indicates that the key has been rotated and is no longer in use. rotated: Indicates that the key is going through the rotation process. Only active key pairs can be updated to this status, and no new key pair is created. The rotated key can be used to sign emails for 3 days after the status update, and will automatically change to 'retired' 2 weeks after update. For a smooth key transition, it is recommended to create and publish a new key pair before signing is disabled for the rotated key.
Request
Responses
- 204
- 400
- 404
- 500
Key pair status updated successfully
Status not supported
Specified key pair not found, or no active key for rotation This may also occur if the DKIM domain or selector path parameter is missing.
Internal Server Error