Skip to main content
Disable inbound email receiving on a custom domain. Calling this endpoint clears the domain’s inbound state and removes the inbound MX record from the returned DNS records. If the domain had been added to the SES receipt rule, its recipient condition is removed so SES stops accepting its mail. You can safely remove the inbound MX record from your DNS afterwards.

Authorizations

string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Path Parameters

string
required
The id of the domain on which to disable inbound receiving.

Response

boolean
Indicates whether the request was successful.
object
The updated domain object.

Errors

object
Returned when no domain with the given domainId exists in the project.
object
Returned when inbound receiving could not be disabled on the domain.