Skip to navigation

update

Set the account’s file-access defaults. Send fileAccess to replace the settings or null to remove them. Bucket and document settings take precedence. If an update times out, read the settings before retrying.

Authentication

X-API-Keystring
API Key authentication via header

Request

This endpoint expects an object.
fileAccessobject or nullRequired

Controls access to normal file URLs and the maximum lifetime of temporary links. For each setting, use the document value first, then bucket, then account. If none is set, defaults are public access and a 300-second link lifetime. Normal file URLs do not expire.

fileAccessRevisionintegerOptional>=0Deprecated

Deprecated. Not needed and ignored when updating file-access settings.

Response

Applied settings
customerobject
Account information for the user

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
503
Service Unavailable Error