---
title: "DELETE /detector-models/{detectorModelName}"
method: DELETE
path: "/detector-models/{detectorModelName}"
---

# DELETE /detector-models/{detectorModelName}

`DELETE /detector-models/{detectorModelName}`

Deletes a detector model. Any active instances of the detector model are also deleted.

## Path parameters

- `detectorModelName` string, required

## Response `204`

Success

- DeleteDetectorModelResponse

## Other responses

- `480` — InvalidRequestException
- `481` — ResourceInUseException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalFailureException
- `485` — ServiceUnavailableException

---

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