---
title: "Unregister a push device"
method: POST
path: "/v1/notifications/push-devices/unregister"
tags: ["notifications"]
---

# Unregister a push device

`POST /v1/notifications/push-devices/unregister`

## Request

- Base URL: `https://app.legend.trade/api/rest`
- URL: `https://app.legend.trade/api/rest/v1/notifications/push-devices/unregister`
- Auth: HTTP bearer

## Request body

- object
  - `token` string, required
  - `expectedUserId` string, uuid

## Response `200`

Successful response

- PushDeviceMutationOutput
  - `success` true, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `500`: Internal server error

## Changes

- **2026-10-22** `71524db9527a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/legend/apis/legend-api/changes/v1/notifications/push-devices/unregister/post.md)

---

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