---
title: "Delete one glitch rule by id."
method: DELETE
path: "/v1/glitches/rules/{id}"
tags: ["Glitches"]
---

# Delete one glitch rule by id.

`DELETE /v1/glitches/rules/{id}`

## Request

- Base URL: `https://api.scalix.world`
- URL: `https://api.scalix.world/v1/glitches/rules/{id}`
- Auth: HTTP bearer

Deleting a rule never rewrites recorded events — past observations keep
the class they were recorded with; matching traffic resumes the
platform's default classification within a minute. A rule id from
another project reports 404.

Requires the `glitches:write` scope and a project-scoped credential.

## Path parameters

- `id` string, required

## Response `200`

Rule deleted

## Other responses

- `401`: Missing or invalid API key
- `403`: Token lacks the glitches:write scope or is not project-scoped
- `404`: No such rule in this project
- `500`: Internal error

---

[API](https://skmtc.dev/scalix/apis/scalix-cloud-api.md) · [All operations](https://skmtc.dev/scalix/apis/scalix-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalix/apis/scalix-cloud-api/revisions/2c04ca0a90bb?raw)
