---
title: "Unregister a local device"
method: DELETE
path: "/api/devices/user/{deviceId}"
tags: ["Devices"]
---

# Unregister a local device

`DELETE /api/devices/user/{deviceId}`

## Request

- Base URL: `https://aximo.autify.com`
- URL: `https://aximo.autify.com/api/devices/user/{deviceId}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/autify/apis/aximo-api/docs/api/devices/user/:deviceId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes a registered local device. Only devices registered by the
authenticated user can be removed. The device's token stops working
immediately.

## Path parameters

- `deviceId` string, uuid, required

## Response `200`

Device removed.

- object
  - `success` boolean, required

## Other responses

- `400`: Invalid device ID.
- `401`: Missing or invalid API key.
- `403`: API key is not scoped to an organization, the user is banned, or the user is no longer a member of the organization.
- `404`: Device not found, or BYOD is not enabled for the organization.
- `429`: Rate limit exceeded — e.g. the daily session limit was reached for the organization, or too many API requests were sent in a short window (retry after the number of seconds in the `Retry-After` header).
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/autify/apis/aximo-api.md) - [All operations](https://skmtc.dev/autify/apis/aximo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/autify/apis/aximo-api/revisions/590722011284?raw)
