---
title: "Remove Device"
method: DELETE
path: "/v1/device-tokens"
---

# Remove Device

`DELETE /v1/device-tokens`

## Request

- Base URL: `https://optimobile-push-service-api-region.optimove.net`
- URL: `https://optimobile-push-service-api-region.optimove.net/v1/device-tokens`
- Auth: HTTP basic

This endpoint can be used with Client or Server credentials and disables a device token for the Mobile Push channel.

## Request body

- object
  - `deviceType` 'ios' | 'android': The type of device token, one of "ios", "android"
  - `token` string: The device token retrieved from the device OS
  - `iosTokenType` 'sandbox' | 'production': Optionally provided for iOS devices, when omitted defaults to "production". If specified when adding a token you must specify same type when removing.

## Response `204`

204

## Other responses

- `401`: 401
- `404`: 404
- `422`: 422

---

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