/AWS1/IF_ORG=>DELETEORGANIZATION()¶
About DeleteOrganization¶
Deletes the organization. You can delete an organization only by using credentials from the management account. The organization must be empty of member accounts.
When an organization is deleted, Organizations logs a membership event in CloudTrail. The
event is an AccountDepartedOrganization event with
departedMethod:Left and departedTime. This event is available
only in the management account's event history.
Method Signature¶
METHODS /AWS1/IF_ORG~DELETEORGANIZATION
RAISING
/AWS1/CX_ORGACCESSDENIEDEX
/AWS1/CX_ORGAWSORGSNOTINUSEEX
/AWS1/CX_ORGCONCURRENTMODEX
/AWS1/CX_ORGCNSTRNTVIOLATIONEX
/AWS1/CX_ORGINVALIDINPUTEX
/AWS1/CX_ORGORGNOTEMPTYEX
/AWS1/CX_ORGSERVICEEXCEPTION
/AWS1/CX_ORGTOOMANYREQUESTSEX
/AWS1/CX_ORGCLIENTEXC
/AWS1/CX_ORGSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->deleteorganization( ).