Skip to content

Delete Domain

sagemaker_delete_domain R Documentation

Used to delete a domain

Description

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.

Usage

sagemaker_delete_domain(DomainId, RetentionPolicy)

Arguments

DomainId

[required] The domain ID.

RetentionPolicy

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).

Value

An empty list.

Request syntax

svc$delete_domain(
  DomainId = "string",
  RetentionPolicy = list(
    HomeEfsFileSystem = "Retain"|"Delete"
  )
)