# Delete a saved search

> Deletes it and its matches.


`DELETE https://dev.siteswap.pro/api/v1/saved-searches/{id}`

Deletes it and its matches.

Needs the `alerts` scope.

## Parameters

- `id` (path, string, required): The saved search

## Responses

- 200: OK
- 400: bad_request, key_in_url or invalid_json: the request could not be read
- 401: missing_key or invalid_key: no key, or a key that is not valid or was revoked
- 403: key_pending, key_declined, scope_missing, terms_required or account_unavailable: see Errors
- 404: not_found: nothing here that you may see
- 413: too_large: the body is over 256 KB
- 429: rate_limited or daily_quota: wait for Retry-After seconds

## Response fields

- `deleted` (string)

```json
{
  "data": {
    "deleted": "string"
  },
  "meta": {
    "request_id": "3f9a1c0b7d2e",
    "api_version": "v1"
  }
}
```

## Example

```bash
curl -X DELETE "https://dev.siteswap.pro/api/v1/saved-searches/1042" \
  -H "Authorization: Bearer ssk_YOUR_KEY"
```