Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Peran yang Diperlukan
Untuk mendapatkan izin yang diperlukan guna menghapus instance, minta administrator untuk memberi Anda peran IAM Secure Source Manager Instance Manager (roles/securesourcemanager.instanceManager) di instance Secure Source Manager.
Untuk mengetahui informasi selengkapnya tentang cara memberikan peran, lihat Mengelola akses ke project, folder, dan organisasi.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[],[],null,["# Delete an instance\n\nRequired Roles\n--------------\n\n\nTo get the permissions that\nyou need to delete an instance,\n\nask your administrator to grant you the\n\n\n[Secure Source Manager Instance Manager](/iam/docs/roles-permissions/securesourcemanager#securesourcemanager.instanceManager) (`roles/securesourcemanager.instanceManager`)\nIAM role on the Secure Source Manager instance.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nYou might also be able to get\nthe required permissions through [custom\nroles](/iam/docs/creating-custom-roles) or other [predefined\nroles](/iam/docs/roles-overview#predefined).\n\nFor information on granting Secure Source Manager roles,\nsee [Access control with IAM](/secure-source-manager/docs/access-control) and\n[Grant users instance access](/secure-source-manager/docs/grant-users-instance-access).\n\nDelete an instance\n------------------\n\n1. To delete your Secure Source Manager instance and all associated data, run the\n following command:\n\n gcloud beta source-manager instances delete \u003cvar translate=\"no\"\u003eINSTANCE_NAME\u003c/var\u003e \\\n --region=\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003e\u003ccode translate=\"no\" dir=\"ltr\"\u003eINSTANCE_NAME\u003c/code\u003e\u003c/var\u003e with the name of the instance you want to delete.\n - \u003cvar translate=\"no\"\u003e\u003ccode translate=\"no\" dir=\"ltr\"\u003eREGION\u003c/code\u003e\u003c/var\u003e with the location of your instance. For information on supported locations, see [Locations](/secure-source-manager/docs/locations).\n2. Check the status of the operation with the following command:\n\n gcloud beta source-manager operations describe projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e/operations/\u003cvar translate=\"no\"\u003eOPERATION_ID\u003c/var\u003e\n\n Where \u003cvar translate=\"no\"\u003e\u003ccode translate=\"no\" dir=\"ltr\"\u003eOPERATION_ID\u003c/code\u003e\u003c/var\u003e is the value of `name:` in the\n response from the `delete` command.\n\nWhat's next\n-----------\n\n- [Disable the Secure Source Manager API](/secure-source-manager/docs/enable-disable#disable).\n- [List and view instances](/secure-source-manager/docs/list-view-instances)."]]