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
        • ListConfigurationSets method
        • GetConfigurationSet method
        • CreateConfigurationSet method
        • PutDomainIdentityConfigurationSetAttributes method
        • DeleteConfigurationSet method
        • PutConfigurationSetDeliveryOptions method
        • PutConfigurationSetSuppressionOptions 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. Configurations
  4. PutConfigurationSetDeliveryOptions method

PutConfigurationSetDeliveryOptions method

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

Updates delivery settings for a configuration in a folder. The folder is selected based on the service account the request originates from.

RequestRequest

PUT /v2/email/configuration-sets/{ConfigurationSetName}/delivery-options HTTP/2

Path parametersPath parameters

Parameter

Description

ConfigurationSetName

Type: String.

Name of the configuration to update.

Request headersRequest headers

Use common request headers in your requests.

Request bodyRequest body

{
   "TlsPolicy": "REQUIRE|OPTIONAL",
   "SendingPoolName": "<pool_name>"
}

Parameter

Description

TlsPolicy

Type: String.

Outgoing connection security policy.

Specifies whether or not to use the TLS protocol for mail covered by the configuration. If REQUIRE, emails will be delivered only provided that a TLS connection can be established. If OPTIONAL, emails may be delivered as plain text if a TLS connection cannot be established.

SendingPoolName

Type: String.

Name of the pool of IP addresses that will be used to send emails covered by the configuration.

This is an optional parameter.

Warning

This method completely updates the configuration's delivery settings. If you do not specify SendingPoolName during the call, the pool will be unlinked from the configuration, and emails will be sent from the service’s shared IP addresses.

Note

If a configuration is linked to a pool with no allocated IP addresses, sending emails with that configuration will fail: the SendEmail method will return the 404 NotFoundException error. The system will not automatically fall back to the shared IP address pool.

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, or the pool specified in SendingPoolName does not exist.

404 NotFoundException

The requested resource was not found.

429 TooManyRequestsException

The request quota was exceeded.

Was the article helpful?

Previous
DeleteConfigurationSet method
Next
PutConfigurationSetSuppressionOptions method
© 2026 Direct Cursus Technology L.L.C.