---
title: "Deactivate device token"
method: PATCH
path: "/device-tokens/deactivate/{token}"
tags: ["device-tokens"]
---

# Deactivate device token

`PATCH /device-tokens/deactivate/{token}`

Deactivate a device token by token string

## Path parameters

- `token` string, required

## Response `200`

Device token deactivated successfully

- DeviceTokenResponseDto
  - `device_token_id` number, required — Device token ID
  - `user_id` string, required — Member ID
  - `member_acc_id` string — External account ID
  - `phone_number_id` string — Phone number identifier
  - `device_token` string, required — Firebase device token
  - `device_type` 'iOS' | 'android' | 'web' | 'unknown', required — Device type
  - `app_version` string — App version
  - `os_version` string — OS version
  - `is_active` boolean, required — Enable notifications
  - `created_at` string, date-time, required — Creation timestamp
  - `updated_at` string, date-time, required — Last update timestamp
  - `last_used_at` string, date-time — Last used timestamp

## Other responses

- `404` — Device token not found

---

[API](https://skmtc.dev/tonewow/apis/tonewow-database-api.md) · [All operations](https://skmtc.dev/tonewow/apis/tonewow-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonewow/tonewow-database-api/revisions/f36472974ad4/schema)
