> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mirurobotics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete

> Delete a device. A device with deployments or calibrations can't be deleted; archive it instead.

| Scope | Required |
| - | - |
| `devices:delete` | Yes |


## OpenAPI

````yaml /references/platform-api/2026-11-16.yaml delete /devices/{device_id}
openapi: 3.0.3
info:
  title: Miru Platform API
  description: The API between Miru and any external client
  version: 2026-11-16.lassen
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  x-release-version: 2026-11-16.lassen
  x-git-commit:
    sha: 43d8e1c797e43bb869b8f349c2383bdd5274445f
    url: >-
      https://github.com/mirurobotics/openapi/commit/43d8e1c797e43bb869b8f349c2383bdd5274445f
    message: >-
      docs: replace customer-specific calibration examples with generic ones
      (#513)
    author: Ben's Agent
    branch: HEAD
    dirty: false
  x-build:
    built_at: '2026-11-17T00:22:51.314973+00:00'
servers:
  - url: https://api.mirurobotics.com/beta
    description: Miru Platform API
security:
  - ApiKeyAuth: []
paths:
  /devices/{device_id}:
    parameters:
      - $ref: '#/components/parameters/MiruVersion'
    delete:
      tags:
        - Devices
      summary: Delete
      description: >-
        Delete a device. A device with deployments or calibrations can't be
        deleted; archive it instead.
      operationId: deleteDevice
      parameters:
        - $ref: '#/components/parameters/device_id'
      responses:
        '200':
          description: Successfully deleted the device.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedDevice'
components:
  parameters:
    MiruVersion:
      name: Miru-Version
      in: header
      required: true
      schema:
        type: string
        example: 2026-11-16.lassen
      description: The API version the client was built against.
    device_id:
      name: device_id
      in: path
      required: true
      description: The unique identifier of the device.
      schema:
        type: string
        example: dvc_123
  schemas:
    DeletedDevice:
      title: Deleted Device
      type: object
      required:
        - object
        - id
        - deleted
      properties:
        object:
          type: string
          enum:
            - device
          example: device
          x-stainless-const: true
          description: The object type, which is always `device`.
        id:
          type: string
          description: The ID of the device.
          example: dvc_123
        deleted:
          type: boolean
          description: Whether the device was deleted.
          example: true
      example:
        object: device
        id: dvc_123
        deleted: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: The API key to use for authentication.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.