Devices API
Delete a device
Delete a device, which can later be restored with the Undelete Device API.
The Devices API is deprecated. New integrations should use the Workers API instead.
DELETE /devices/{device_id}
This endpoint deletes a device. Deleted devices can be undeleted with an Undelete Device API call.
Path parameters
| Name | Type | Description |
|---|---|---|
device_id | string | A string representing the ID of a tracked device, case sensitive. |
Query parameters
| Name | Type | Description |
|---|---|---|
full_deletion | boolean | Flag for privacy related deletion requests (e.g., GDPR). |
Response
Returns 204 No Content when the device is removed.