Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Postbox
  • Getting started
  • Access management
  • Pricing policy
    • Authentication with the API
    • How to use the API
    • Signing requests
      • All methods
      • Sending emails
        • ListDomainIdentities method
        • GetDomainIdentity method
        • CreateDomainIdentity method
        • PutDomainIdentityDkimAttributes method
        • DeleteDomainIdentity method
      • Request headers
  • Audit Trails events
  • Release notes

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 October 22, 2024
  • Request
    • Path parameters
    • Request headers
    • Request body
  • Responses
    • 200 OK
    • Errors

Enables or disables DKIM signing for an address. This option allows the recipient to check that an 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. Possible values: 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.

Possible errors:

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
© 2025 Direct Cursus Technology L.L.C.