# Delete Device

Delete a device and revoke its access.

**Endpoint**: `DELETE /api/devices/:id`
**Auth**: Required

## Path Parameters

| Parameter | Type          | Required | Description |
| --------- | ------------- | -------- | ----------- |
| id        | string (UUID) | Yes      | Device UUID |

## Request Headers

| Header        | Type   | Required | Description  |
| ------------- | ------ | -------- | ------------ |
| Authorization | string | Yes      | Bearer token |

### Example Request

```http
DELETE /api/devices/550e8400-e29b-41d4-a716-446655440000
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
```

## Response (204 No Content)

Device deleted successfully.

## Error Responses

| Code | Description                    |
| ---- | ------------------------------ |
| 401  | Invalid or expired token       |
| 403  | Device does not belong to user |
| 404  | Device not found               |
