---
title: "Delete a push rule."
method: DELETE
path: "/_matrix/client/v3/pushrules/global/{kind}/{ruleId}"
tags: ["Push notifications"]
---

# Delete a push rule.

`DELETE /_matrix/client/v3/pushrules/global/{kind}/{ruleId}`

## Request

- Base URL: `https://matrix.org`
- URL: `https://matrix.org/_matrix/client/v3/pushrules/global/{kind}/{ruleId}`
- Auth: one of:
  - API key in query parameter `access_token`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/matrix/apis/matrix-client-server-api/docs/_matrix/client/v3/pushrules/global/:kind/:ruleId/delete.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint removes the push rule defined in the path.

## Path parameters

- `kind` 'override' | 'underride' | 'sender' | 'room' | 'content', required
- `ruleId` string, required

## Response `200`

The push rule was deleted.

- object

## Other responses

- `404`: The push rule does not exist.

---

[API](https://skmtc.dev/matrix/apis/matrix-client-server-api.md) - [All operations](https://skmtc.dev/matrix/apis/matrix-client-server-api/llms.txt) - [OpenAPI document](https://skmtc.dev/matrix/apis/matrix-client-server-api/revisions/c7fe4072c681?raw)
