PATCH /api/v1/settings · Operation ID: patchSettingssettings:write. Resource access and effective policy still apply.curl --fail-with-body -X PATCH 'https://handwrites.io/api/v1/settings' \
-H "Authorization: Bearer $HANDWRITE_API_KEY" \
-H 'Content-Type: application/json' \
--data '{"changes":{"rate":{"value":1.25,"updatedAt":"2026-10-26T12:00:00.000Z"}}}'application/json (required).| Field | Required | Meaning |
|---|---|---|
device | No | Your device or app, 1–64 of letters, digits and . _ : - |
changes | Yes | Device-only keys (webLibrarySync, storeInICloud, syncOverCellular, cloudSync, keepDownloaded, appLock, appLockDelay) and unknown keys are rejected. |
| Status | Meaning | Body format |
|---|---|---|
| 200 | The merged settings with applied and kept keys. | application/json |
| 400 | invalid_request (the message names the field), validation_failed. | application/json |
| 401 | unauthorized: no token, or it's invalid, revoked or expired. | application/json |
| 403 | insufficient_scope, forbidden (you can see it but not do this), app_test_restricted, account_deleted (the account is scheduled for deletion; any request). | application/json |
| 409 | conflict (changed meanwhile, already a member) or idempotency_in_progress (with Retry-After). | application/json |
| 429 | rate_limited (burst or daily cap) or quota_exceeded (no characters left). | application/json |
| 500 | internal_error. | application/json |