info: name: Update Device type: http seq: 18 http: method: PUT url: '{{base_url}}/api/devices/{{device_id}}' auth: inherit body: type: json data: |- { "device_name": "My Kobo Clara", "sync_enabled": true, "auto_sync": true, "sync_frequency_minutes": 60 } settings: encodeUrl: true timeout: 0 followRedirects: true maxRedirects: 5 runtime: scripts: - type: tests code: |- test("status is 200", function() { expect(res.status).to.eql(200); }); docs: content: |- # Update Device `PUT /api/devices/:id` — auth: jwt. Canonical reference: docs/developer/api/devices/update_device.md (docs site → Developer → API). This request is GENERATED from that doc; edit the doc, then run the drift test with -update. type: text/markdown