info: name: Update Device type: http seq: 5 http: method: PUT url: '{{base_url}}/api/devices/{{device_id}}' auth: inherit body: type: json jsonBody: "{\n \"device_name\": \"My Updated Kindle\",\n \"sync_enabled\"\ : true,\n \"auto_sync\": true,\n \"sync_frequency_minutes\": 10" docs: |- ## Update Device Updates device settings and synchronization preferences. **Method:** PUT **Endpoint:** /api/devices/{device_id} **Authentication:** Required (Bearer token, admin or device owner) **Path Parameters:** - `device_id` (string): Device ID **Request Body:** - `device_name` (string, optional): New device name (max 100 chars) - `sync_enabled` (boolean, optional): Enable/disable synchronization - `auto_sync` (boolean, optional): Enable automatic synchronization - `sync_frequency_minutes` (integer, optional): Sync frequency in minutes (5-1440) **Response:** - Updated device object **Status Codes:** - 200: Success - 400: Invalid request - 401: Unauthorized - 403: Forbidden (not device owner) - 404: Device not found