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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
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
  • Responses
  • 200 OK
  • Errors
  1. API reference
  2. REST
  3. Addresses
  4. DeleteDomainIdentity method

DeleteDomainIdentity method

Written by
Yandex Cloud
Updated at October 22, 2024
  • Request
    • Path parameters
    • Request headers
  • Responses
    • 200 OK
    • Errors

This method deletes an address in a folder. The folder is selected based on the service account the request originates from.

RequestRequest

DELETE /v2/email/identities/{DomainIdentity} HTTP/2

Path parametersPath parameters

Parameter

Description

DomainIdentity

Type: String.

Address to delete. The minimum length is one character.

Request headersRequest headers

Use common request headers in your requests.

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.

409 ConcurrentModificationException

The resource is already in use. Wait for the operation to complete and repeat your request.

429 TooManyRequestsException

The request quota was exceeded.

429 LimitExceededException

The request limit was exceeded.

Was the article helpful?

Previous
PutDomainIdentityDkimAttributes method
Next
ListConfigurationSets method
Yandex project
© 2025 Yandex.Cloud LLC