Skip to content

/AWS1/CL_SGM=>DELETEDOMAIN()

About DeleteDomain

Used to delete a domain. If you onboarded with IAM mode, you will need to delete your domain to onboard again using IAM Identity Center. Use with caution. All of the members of the domain will lose access to their EFS volume, including data, notebooks, and other artifacts.

Method Signature

IMPORTING

Required arguments:

IV_DOMAINID TYPE /AWS1/SGMDOMAINID /AWS1/SGMDOMAINID

The domain ID.

Optional arguments:

IO_RETENTIONPOLICY TYPE REF TO /AWS1/CL_SGMRETENTIONPOLICY /AWS1/CL_SGMRETENTIONPOLICY

The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).