---
title: "Unsubscribe from web push"
method: POST
path: "/v1/web-push/unsubscribe"
tags: ["Web Push"]
---

# Unsubscribe from web push

`POST /v1/web-push/unsubscribe`

Deactivate a browser push subscription by its endpoint. Keyed by the endpoint URL (a high-entropy capability) rather than the user, so the client can unsubscribe during logout after the login token has been cleared. Still requires the application API key. Idempotent — an unknown endpoint returns 200.

## Request body

- object
  - `endpoint` string, uri, required

## Response `200`

Default Response

- object
  - `success` boolean

## Other responses

- `401` — Default Response

---

[API](https://skmtc.net/bluehive-health/apis/bluehive-api.md) · [All operations](https://skmtc.net/bluehive-health/apis/bluehive-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluehive-health/bluehive-api/revisions/ae97a9add0ba/schema)
