# Method: projects.delete

- [HTTP request](https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/delete#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/delete#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/delete#body.request_body)
- [Response body](https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/delete#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/delete#body.aspect)
- [Try it!](https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/delete#try-it)

Marks the Project identified by the specified `projectId` (for example, `my-project-123`) for deletion. This method will only affect the Project if it has a lifecycle state of `https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects#LifecycleState.ENUM_VALUES.ACTIVE`.

This method changes the Project's lifecycle state from `https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects#LifecycleState.ENUM_VALUES.ACTIVE` to `https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects#LifecycleState.ENUM_VALUES.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 `https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/get#google.cloudresourcemanager.v1.Projects.GetProject`, and the Project remains visible to `https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/list#google.cloudresourcemanager.v1.Projects.ListProjects`. However, you cannot update the project.

After the deletion completes, the Project is not retrievable by the `https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/get#google.cloudresourcemanager.v1.Projects.GetProject` and `https://docs.cloud.google.com/resource-manager/reference/rest/v1/projects/list#google.cloudresourcemanager.v1.Projects.ListProjects` methods.

The caller must have delete permissions for this Project.

### HTTP request

`DELETE https://cloudresourcemanager.googleapis.com/v1/projects/{projectId}`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `projectId` | `string` The Project ID (for example, `foo-bar-123`). Required. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `projectId`: - `resourcemanager.projects.delete` |

### Request body

The request body must be empty.

### Response body

If successful, the response body is an empty JSON object.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `https://www.googleapis.com/auth/cloudplatformprojects`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).