---
title: "Unregister a device. Roles: any."
method: POST
path: "/api/devices/unregister"
tags: ["Devices"]
---

# Unregister a device. Roles: any.

`POST /api/devices/unregister`

## Request body

- DeviceRequest
  - `appId` integer
  - `appKey` string
  - `membershipId` integer, required
  - `deviceId` string
  - `udid` string
  - `token` string, required
  - `platform` string, required

## Response `200`

OK

- BaseResponse
  - `success` boolean
  - `error` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

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