v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1480317256.9 KB

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 <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html">Removing an organization</a> in the <i>WorkMail Administrator Guide</i>.

post/#X-Amz-Target=WorkMailService.DeleteOrganization

Headers

X-Amz-Target'WorkMailService.DeleteOrganization' required

Request body

ClientTokenstring

The idempotency token associated with the request.

OrganizationIdstring required

The organization ID.

DeleteDirectoryboolean required

If true, deletes the AWS Directory Service directory associated with the organization.

Response

Success

OrganizationIdstring

The organization ID.

Statestring

The state of the organization.