---
type: api
title: Delete an Observability project
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/operation/operation-deleteobservabilityproject
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/operation/operation-deleteobservabilityproject
products:
  - Elastic Cloud Serverless
---

# Delete an Observability project

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

## Paths

- `DELETE` `/api/v1/serverless/projects/observability/{id}`

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

## Responses

#### `200`

Project deletion scheduled.

##### Response Headers

- `ETag` (string)

#### `400`

Bad request

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
#### `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.
#### `409`

Conflict

`application/json`

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

Precondition failed

`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
DELETE /api/v1/serverless/projects/observability/{id}
```

#### curl

```curl
curl -X DELETE "https://api.elastic-cloud.com/api/v1/serverless/projects/observability/{id}"
```

