---
title: "Delete Event Source"
method: DELETE
path: "/api/v1/event-sources/{event_source_id}"
tags: ["event-sources"]
---

# Delete Event Source

`DELETE /api/v1/event-sources/{event_source_id}`

Deletes a event_source.

Args:
    event_source_id: Name of the event_source.
    force: Flag deciding whether to force delete the event source.

Raises:
    ValueError: If the plugin for an event source is not a valid event
        source plugin.

## Path parameters

- `event_source_id` string, uuid, required

## Query parameters

- `force` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/zenml-io/apis/zenml-2.md) · [All operations](https://skmtc.net/zenml-io/apis/zenml-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zenml-io/zenml-2/versions/febb01b8bce3/schema)
