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

# Delete parameters

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

## Paths

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

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

## Description

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

Delete parameters from the Synthetics app.
You must have `all` privileges for the Synthetics feature in the Observability section of the Kibana feature privileges.

## Request Body

`application/json`

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

## Response

A successful response.

`application/json`

Type: `[] object`

- `deleted` (boolean)
  Indicates whether the parameter was successfully deleted. It is `true` if it was deleted. It is `false` if it was not deleted.
- `id` (string)
  The unique identifier for the deleted parameter.
## Code Examples

#### Console

```console
POST /api/synthetics/params/_bulk_delete
{
  "ids": ["param1-id", "param2-id"]
}
```

#### curl

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

## Response Examples

#### Delete parameters response example1

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

