Update storage settings
update_storage_settingsConfigure account-level storage lifecycle defaults for newly uploaded fal CDN files, including default ACL rules and auto-expiration; omitted or null fields reset to system defaults.
Instructions
Replaces the account-level storage lifecycle settings applied to newly uploaded fal CDN files. Omitted or null fields are cleared (reset to the system default), so always send the full desired configuration.
ACL rules referencing users that do not exist are dropped. The response reflects the settings actually saved, so verify it contains the rules you sent.
These are the same settings that the per-request
X-Fal-Object-Lifecycle-Preference header overrides on individual requests.
Authentication: Required. The API key must have the account:settings:write permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private account key profile label, not an authenticated provider owner ID. | |
| confirm | No | Must be true for the requested mutation, paid work or private output file. | |
| payload | No | Complete native JSON body, mutually exclusive with flat body flags and payload_file. Use schema for union bodies. | |
| initial_acl | No | Default ACL applied to newly uploaded files. Null uses the system default (public). | |
| payload_file | No | Absolute regular non-symlink private JSON file, at most 1 MiB. Cannot mix with other body inputs. | |
| expiration_duration_seconds | No | Seconds after which newly uploaded files automatically expire and are deleted. Null disables auto-expiration. |