Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Postbox
  • Getting started
  • Access management
  • Pricing policy
    • API authentication
    • How to use the API
    • Signing requests
      • All methods
      • Sending emails
      • Bulk email sending
        • ListDomainIdentities method
        • GetDomainIdentity method
        • CreateDomainIdentity method
        • PutDomainIdentityDkimAttributes method
        • DeleteDomainIdentity method
      • Request headers
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ

In this article:

  • Request
  • Path parameters
  • Request headers
  • Request body
  • Responses
  • 200 OK
  • Errors
  1. API reference
  2. REST
  3. Addresses
  4. PutDomainIdentityDkimAttributes method

PutDomainIdentityDkimAttributes method

Written by
Yandex Cloud
Updated at September 21, 2026
View in Markdown
  • Request
    • Path parameters
    • Request headers
    • Request body
  • Responses
    • 200 OK
    • Errors

Enables or disables DKIM signing for an address. This allows the recipient to make sure the email was indeed sent from the claimed domain. It is used for anti-phishing and anti-spam measures.

RequestRequest

PUT /v2/email/identities/{DomainIdentity}/dkim HTTP/2

Path parametersPath parameters

Parameter

Description

DomainIdentity

Type: String.

Address to enable or disable DKIM authentication for. The minimum length is one character.

Request headersRequest headers

Use common request headers in your requests.

Request bodyRequest body

{
  "SigningEnabled": <DKIM_usage>
}

Parameter

Description

SigningEnabled

Type: Boolean.

Enables or disables DKIM signing for sending emails from the specified address. The possible values are true or false.

ResponsesResponses

200 OK200 OK

A successful request returns 200 OK in the response.

ErrorsErrors

For all errors, the response body has the same format:

{
   "Code": "<error_name>",
   "message": "<error_description>"
}

The name of the error is taken from its code, e.g., BadRequestException.

The possible errors include:

Error code

Description

400 BadRequestException

The request contains invalid headers or parameters.

404 NotFoundException

The requested resource was not found.

429 TooManyRequestsException

The request quota was exceeded.

Was the article helpful?

Previous
CreateDomainIdentity method
Next
DeleteDomainIdentity method
© 2026 Direct Cursus Technology L.L.C.