Marks the project identified by the specified name (for example, projects/415104041262) for deletion.
This method will only affect the project if it has a lifecycle state of ACTIVE.
This method changes the Project's lifecycle state from ACTIVE to DELETE_REQUESTED. The deletion starts at an unspecified time, at which point the Project is no longer accessible.
Until the deletion completes, you can check the lifecycle state checked by retrieving the project with projects.get, and the project remains visible to projects.list. However, you cannot update the project.
[[["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-06-11 UTC."],[],[],null,["# Method: projects.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nMarks the project identified by the specified `name` (for example, `projects/415104041262`) for deletion.\n\nThis method will only affect the project if it has a lifecycle state of [ACTIVE](/resource-manager/reference/rest/v3/projects#State.ENUM_VALUES.ACTIVE).\n\nThis method changes the Project's lifecycle state from [ACTIVE](/resource-manager/reference/rest/v3/projects#State.ENUM_VALUES.ACTIVE) to [DELETE_REQUESTED](/resource-manager/reference/rest/v3/projects#State.ENUM_VALUES.DELETE_REQUESTED). The deletion starts at an unspecified time, at which point the Project is no longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state checked by retrieving the project with [projects.get](/resource-manager/reference/rest/v3/projects/get#google.cloud.resourcemanager.v3.Projects.GetProject), and the project remains visible to [projects.list](/resource-manager/reference/rest/v3/projects/list#google.cloud.resourcemanager.v3.Projects.ListProjects). However, you cannot update the project.\n\nAfter the deletion completes, the project is not retrievable by the [projects.get](/resource-manager/reference/rest/v3/projects/get#google.cloud.resourcemanager.v3.Projects.GetProject), [projects.list](/resource-manager/reference/rest/v3/projects/list#google.cloud.resourcemanager.v3.Projects.ListProjects), and [projects.search](/resource-manager/reference/rest/v3/projects/search#google.cloud.resourcemanager.v3.Projects.SearchProjects) methods.\n\nThe caller must have `resourcemanager.projects.delete` permissions for this project.\n\n### HTTP request\n\n`DELETE https://cloudresourcemanager.googleapis.com/v3/{name=projects/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/resource-manager/reference/rest/Shared.Types/Operation).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/cloudplatformprojects`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]