---
title: "Deregister a mobile device (logout)"
method: DELETE
path: "/v1/devices/{device_token}"
tags: ["Devices"]
---

# Deregister a mobile device (logout)

`DELETE /v1/devices/{device_token}`

## Request

- Base URL: `https://identity-api.paymongo.com`
- URL: `https://identity-api.paymongo.com/v1/devices/{device_token}`
- Auth: HTTP bearer

Disables the caller's device push endpoint at SNS and marks the row disabled. The row is retained so a subsequent login can cheaply re-enable it.

## Path parameters

- `device_token` string, required

## Response `204`

No Content

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paymongo/apis/identity.md) - [All operations](https://skmtc.dev/paymongo/apis/identity/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/identity/revisions/cc3056164874?raw)
