---
title: "Unsubscribe a device"
method: DELETE
path: "/api/v1/visa/devices/{id}"
tags: ["Push notifications"]
---

# Unsubscribe a device

`DELETE /api/v1/visa/devices/{id}`

## Response `200`

Subscription deleted.

- object
  - `deleted` boolean
  - `device_id` integer

## Other responses

- `401` — Missing API key, query param or session cookie.
- `403` — Invalid / inactive key, or plan below the endpoint's minimum tier.
- `404` — No data for the requested resource.

---

[API](https://skmtc.net/orizn/apis/orizn-visa-api.md) · [All operations](https://skmtc.net/orizn/apis/orizn-visa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orizn/orizn-visa-api/versions/15b21ef9b5b0/schema)
