Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the WorkMail Administrator Guide.
See https://www.paws-r-sdk.com/docs/workmail_delete_organization/ for full documentation.
workmail_delete_organization(
ClientToken = NULL,
OrganizationId,
DeleteDirectory,
ForceDelete = NULL,
DeleteIdentityCenterApplication = NULL
)
The idempotency token associated with the request.
[required] The organization ID.
[required] If true, deletes the AWS Directory Service directory associated with the organization.
Deletes a WorkMail organization even if the organization has enabled users.
Deletes IAM Identity Center application for WorkMail. This action does not affect authentication settings for any organization.