---
title: "Remove a web push subscription"
method: POST
path: "/api/push/unsubscribe"
---

# Remove a web push subscription

`POST /api/push/unsubscribe`

## Request

- Base URL: `https://techsnif.com`
- URL: `https://techsnif.com/api/push/unsubscribe`
- Auth: none declared

Deletes a stored Web Push subscription by endpoint. Responds 200 whether or not the endpoint was registered.

## Request body

- object
  - `endpoint` string, uri, required

## Response `200`

Subscription removed (or was never registered)

- object
  - `ok` boolean

## Other responses

- `400`: Invalid body

---

[API](https://skmtc.dev/techsnif/apis/techsnif-api.md) · [All operations](https://skmtc.dev/techsnif/apis/techsnif-api/llms.txt) · [OpenAPI document](https://skmtc.dev/techsnif/apis/techsnif-api/revisions/7404c46acbb0?raw)
