---
title: "Terminate a device"
method: DELETE
path: "/devices/{deviceId}"
tags: ["Devices"]
---

# Terminate a device

`DELETE /devices/{deviceId}`

Terminates the device and releases its resources. Termination can be scheduled for a future time or chained from a previous device via the request body, in which case a service key is required.

## Path parameters

- `deviceId` string, required

## Headers

- `Authorization` string

## Request body

- TerminateInputBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `previousDeviceId` string
  - `terminateAt` string, date-time

## Response `204`

No Content

## Other responses

- `default` — Error

---

[API](https://skmtc.net/mobilerun/apis/workflows.md) · [All operations](https://skmtc.net/mobilerun/apis/workflows/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mobilerun/workflows/revisions/1bc499aa8f99/schema)
