---
title: "Retire one device push token"
method: DELETE
path: "/v1/devices/{token}"
tags: ["devices"]
---

# Retire one device push token

`DELETE /v1/devices/{token}`

## Request

- Base URL: `https://api.getmyhotels.com`
- URL: `https://api.getmyhotels.com/v1/devices/{token}`
- Auth: none declared

Runs `push.unregister`. Called when the customer withdraws notification permission or the token rotates. Public for the same reason registration is — a guest device that registered without a session must be able to retire itself. Takes either an APNs or an FCM token; the row is found by the token alone, so the caller does not repeat its platform.

## Path parameters

- `token` string, required

## Response `200`

Success

- unknown

## Other responses

- `400`: Request validation failed or the router rejected the input
- `426`: Reported X-GMH-App-Version is below the supported minimum — the app must update
- `500`: Unexpected server error (opaque; details stay in logs)

---

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