---
title: "Delete Attack Discovery schedule"
method: DELETE
path: "/api/attack_discovery/schedules/{id}"
tags: ["Security Attack discovery API"]
---

# Delete Attack Discovery schedule

`DELETE /api/attack_discovery/schedules/{id}`

**Spaces method and path for this operation:**

<div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/attack_discovery/schedules/{id}</span></div>

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

Permanently deletes an Attack Discovery schedule and all associated configuration.

## Path parameters

- `id` string, nonempty, required — A string that does not contain only whitespace characters.

## Response `200`

Successfully deleted Attack Discovery schedule, returning the ID of the deleted schedule for confirmation

- object
  - `id` string, nonempty, required — A string that does not contain only whitespace characters.

## Other responses

- `400` — Bad Request response.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
