Skip to main content
PUT
Update storage settings

Authorizations

Authorization
string
header
required

Key on the FULL preset, or any key whose permissions include the ones this API lists. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY

Body

application/json

Account-level storage lifecycle settings

expiration_duration_seconds
integer | null

Seconds after which newly uploaded files automatically expire and are deleted. Null disables auto-expiration.

Required range: x >= 1
Example:

86400

initial_acl
object | null

Default ACL applied to newly uploaded files. Null uses the system default (public).

Response

Storage settings after the update

Account-level storage lifecycle settings

expiration_duration_seconds
integer | null
required

Seconds after which newly uploaded files automatically expire, or null if auto-expiration is disabled

Example:

86400

initial_acl
object | null
required

Default ACL applied to newly uploaded files, or null if the system default (public) is used