---
title: "Remove Fcm Token"
method: DELETE
path: "/api/v1/auth/fcm-token"
tags: ["auth"]
---

# Remove Fcm Token

`DELETE /api/v1/auth/fcm-token`

## Request

- Base URL: `https://api.alert.camp` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alert.camp/api/v1/auth/fcm-token`
- Auth: none declared

Remove the user's FCM token.

When ``device_id`` is provided, deletes the specific row from
``user_devices``.  Otherwise clears the legacy single-token columns.

Should be called on logout to stop receiving push notifications
on this device.

## Query parameters

- `device_id` string, nullable

## Headers

- `authorization` string, nullable
- `x-dev-user-id` string, nullable
- `x-app-version` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
