Skip to content

/AWS1/CL_WML=>DELETEORGANIZATION()

About DeleteOrganization

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.

Method Signature

IMPORTING

Required arguments:

IV_ORGANIZATIONID TYPE /AWS1/WMLORGANIZATIONID /AWS1/WMLORGANIZATIONID

The organization ID.

IV_DELETEDIRECTORY TYPE /AWS1/WMLBOOLEAN /AWS1/WMLBOOLEAN

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

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/WMLIDEMPOTENCYCLITOKEN /AWS1/WMLIDEMPOTENCYCLITOKEN

The idempotency token associated with the request.

IV_FORCEDELETE TYPE /AWS1/WMLBOOLEAN /AWS1/WMLBOOLEAN

Deletes a WorkMail organization even if the organization has enabled users.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_WMLDELETEORGRESPONSE /AWS1/CL_WMLDELETEORGRESPONSE