Apply bulk settings changes
apply_account_settingsWrites a batch of settings changes to up to 100 accounts, each account in its own transaction, and returns a per-row result (ok, unchanged, or failed with the reason) and a batch_id that revert_account_settings_batch can undo within 24 hours. idempotency_key is required: a retried request with the same key returns the first result instead of writing twice. Changes to run mode, auto-posting or review before publish affect posting right away and need confirm_sensitive:true, and that confirmation may wait for the owner's approval. Nothing is written without a preview: from a Claude or ChatGPT connection the preview_id from preview_account_settings is required, and a preview_id that does not match the changes is refused. Applies after the user has seen the preview and confirmed it. 繁中:套用批次變更(每帳號一個交易、24 小時內可復原),敏感欄位要 confirm_sensitive,目錄連線一定要先預覽並帶 preview_id。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | Instead of changes: a CSV in the website download format (UTF-8) | |
| reason | No | Optional note stored with the batch, up to 200 characters | |
| changes | No | Up to 100 entries: { account_id, set: { column: value }, base?: { column: value you saw } }. Columns and allowed values: list_account_settings columns, or https://mindthread.tw/accounts/bulk/rules | |
| preview_id | No | preview_id from preview_account_settings (required from Claude and ChatGPT connections) | |
| idempotency_key | Yes | 8-200 characters; reuse the same key when retrying the same request | |
| confirm_sensitive | No | true when the batch changes run mode, auto-posting or review before publish |