[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 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)."]]