---
type: api
title: Delete monitors
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v9/operation/operation-delete-synthetic-monitors
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v9/operation/operation-delete-synthetic-monitors
products:
  - Kibana
---

# Delete monitors

- Server: `https://{kibana_url}`

## Paths

- `POST` `/api/synthetics/monitors/_bulk_delete`
- `POST` `/s/{space_id}/api/synthetics/monitors/_bulk_delete`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v9/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v9/authentication#basicauth)

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Delete multiple monitors by sending a list of config IDs.

## Request Body

`application/json`

- `ids` ([] string) — required
  An array of monitor IDs to delete.

## Response

A successful response.

`application/json`

Type: `[] object`

- `deleted` (boolean)
  If it is `true`, the monitor was successfully deleted If it is `false`, the monitor was not deleted.
- `ids` (string)
  The unique identifier of the deleted monitor.
## Code Examples

#### Console

```console
POST /api/synthetics/monitors/_bulk_delete
{
  "ids": [
    "monitor1-id",
    "monitor2-id"
  ]
}
```

#### curl

```curl
curl -X POST "https://{kibana_url}/api/synthetics/monitors/_bulk_delete" \
  -H "Content-Type: application/json" \
  -d '{
  "ids": [
    "monitor1-id",
    "monitor2-id"
  ]
}'
```

## Response Examples

#### Delete monitors response example1

A response from successfully deleting multiple monitors.

```json
[
  {
    "id": "monitor1-id",
    "deleted": true
  },
  {
    "id": "monitor2-id",
    "deleted": true
  }
]
```

