Skip to main content
DELETE
/
devices
/
{device_id}
Python
from miru_server_sdk import Miru

client = Miru(
    api_key="My API Key",
)
device = client.devices.delete(
    "dvc_123",
)
print(device.id)
{
  "object": "device",
  "id": "dvc_123",
  "deleted": true
}

Authorizations

X-API-Key
string
header
required

The API key to use for authentication. Retrieve your API key from the Miru dashboard.

Path Parameters

device_id
string
required

The unique identifier of the device.

Example:

"dvc_123"

Response

200 - application/json

Successfully deleted the device.

object
enum<string>
required
Available options:
device
Example:

"device"

id
string
required

The ID of the device.

Example:

"dvc_123"

deleted
boolean
required

Whether the device was deleted.

Example:

true

I