Delete a shared space - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Delete a shared space

Important

As of November 30, 2023, the previous Amazon SageMaker Studio experience is now named Amazon SageMaker Studio Classic. The following section is specific to using the Studio Classic application. For information about using the updated Studio experience, see Amazon SageMaker Studio.

The following topic shows how to delete an Amazon SageMaker Studio Classic shared space from the Amazon SageMaker console or Amazon CLI. A shared space can only be deleted if it has no running applications.

Console

Complete the following procedure to delete a shared space in the Amazon SageMaker domain from the SageMaker console.

  1. Open the Amazon SageMaker console at https://console.amazonaws.cn/sagemaker/.

  2. On the left navigation pane, choose Admin configurations.

  3. Under Admin configurations, choose domains.

  4. From the list of domains, select the domain that you want to create a shared space for.

  5. On the domain details page, choose the Space management tab.

  6. Select the shared space that you want to delete. The shared space must not contain any non-failed apps.

  7. Choose Delete. This opens a new window.

  8. Choose Yes, delete space.

  9. Enter delete in the field.

  10. Choose Delete space.

Amazon CLI

To delete a shared space from the Amazon CLI, run the following command from the terminal of your local machine.

aws --region region \ sagemaker delete-space \ --domain-id domain-id \ --space-name space-name