[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-18 UTC。"],[],[],null,["# Troubleshooting project deletion\n\nThe following sections describe common errors that can block the deletion of\na project, and what you can do to resolve them. If you are having issues, try\nusing the Google Cloud CLI to shut down a project, and note any error message\nyou receive.\n\nLiens\n-----\n\nIf there is a [lien](/resource-manager/docs/project-liens) on a project, that project cannot be deleted\nuntil the lien is removed. If you have the `resourcemanager.projects.get`\npermission on the project, you can list the liens applied to a project with\nthe `liens list` gcloud CLI command.\n\nFor more information about liens, see\n[protecting projects with liens](/resource-manager/docs/project-liens).\n\nCloud Endpoints\n---------------\n\nCloud Endpoints are special resources that are considered child resources\nunder a project. This can block the deletion of a project where\nEndpoints exist.\n\nThe below example shows an attempt to delete a project using the\nGoogle Cloud CLI failing due to the existence of Endpoints under\nthe project: \n\n @cloudshell:~ ($project)$ gcloud projects delete $project\n Your project will be deleted.\n\n Do you want to continue (Y/n)? Y\n\n ERROR: (gcloud.projects.delete) FAILED_PRECONDITION: active child resource\n - '@type':type.googleapis.com/google.rpc.PreconditionFailure\n violations:\n - description: active child resource\n subject: services/$service\n - '@type':type.googleapis.com/google.rpc.ResourceInfo\n resourceName: projects/$project\n resourceType: PROJECT\n\nTo resolve this issue, [delete the Endpoints](/sdk/gcloud/reference/endpoints/services/delete)\nbefore you attempt to delete the project.\n\nFor more information about Endpoints, see the\n[Cloud Endpoints documentation](/endpoints/docs).\n\nShared Virtual Private Cloud\n----------------------------\n\nIf a project has shared Virtual Private Cloud (VPC) enabled or has service\nprojects attached, a [lien](/resource-manager/docs/project-liens) will block the deletion of the\nproject.\n\nFor more details and instructions on how to detach service projects and disable\nshared VPC, see [Deprovisioning shared VPC](/vpc/docs/deprovisioning-shared-vpc#deleting_projects)."]]