Skip to content

Deregister Mail Domain

workmail_deregister_mail_domain R Documentation

Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use

Description

Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first remove any email address used by WorkMail entities before you remove the domain.

Usage

workmail_deregister_mail_domain(OrganizationId, DomainName)

Arguments

OrganizationId

[required] The WorkMail organization for which the domain will be deregistered.

DomainName

[required] The domain to deregister in WorkMail and SES.

Value

An empty list.

Request syntax

svc$deregister_mail_domain(
  OrganizationId = "string",
  DomainName = "string"
)