---
search:
  tags:
    - Devices
    - DELETE
seo:
  description: >-
    Delete a device and its files, or with keep_files move its files to the…
    Reference for the DELETE /v1/devices/id/{device_id} endpoint in the Roboto
    REST API.
sidebar:
  label: Delete device by id
  badge: DELETE
title: Delete device by id
type: openapi-operation
---
Delete a device and its files, or with ``keep_files`` move its files to the org root.

### Access control
 - requires_resource_owner
 - Restricted tokens need the API scope `api.everything_else`

`DELETE /v1/devices/id/{device_id}`
