Smaws_Client_WorkMail.DeleteOrganization
val request :
Smaws_Lib.Context.t ->
delete_organization_request ->
(delete_organization_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParameterException of invalid_parameter_exception
| `OrganizationNotFoundException of organization_not_found_exception
| `OrganizationStateException of organization_state_exception ])
Stdlib.result
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.