---
type: api
title: Get Security project delete status
description: Find issues that would prevent deletion of a project
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/operation/operation-getsecurityprojectcandelete
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/operation/operation-getsecurityprojectcandelete
products:
  - Elastic Cloud Serverless
---

# Get Security project delete status

- Server: `https://api.elastic-cloud.com`

## Paths

- `GET` `/api/v1/serverless/projects/security/{id}/_can-delete`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/authentication#apikey)

## Description

Find issues that would prevent deletion of a project

## Responses

#### `200`

The requested delete status

`application/json`

- `linked_projects` ([] DependentProjectSummary)
  Details about linked origins that affect deletion.
  - `id` (string · pattern: ^[a-z0-9]{32}$)
    ID of the project.
  - `name` (string · min: 1 · max: 255)
    Descriptive name for a project.
  - `alias` (string · min: 1 · max: 50 · pattern: ^[a-zA-Z]{1}(?:[a-zA-Z0-9-]*[a-zA-Z0-9]{1})?$)
    A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
  - `type` (enum ProjectType)
    The type of the linked project
    Values: `elasticsearch`, `observability`, `security`, `vectordb`
- `can_be_deleted` (boolean)
  Indicates whether the project can be deleted.
#### `404`

Not Found

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
## Code Examples

#### Console

```console
GET /api/v1/serverless/projects/security/{id}/_can-delete
```

#### curl

```curl
curl -X GET "https://api.elastic-cloud.com/api/v1/serverless/projects/security/{id}/_can-delete"
```

