Skip to main content
PUT
Update file configuration.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

file handling for the network. Both switches are global to the network.

useLegacyFileDownload
boolean

Serve file downloads through the legacy delivery path.

reservedForReview
boolean
default:false

Keep the bytes of an upload that pre-moderation refused, so the decision can be reviewed. The file record is kept with a rejection and the upload raises file.didReject rather than file.didUpload. Left off, a refused upload is discarded.

Response

File configuration

useLegacyFileDownload
boolean

Serve file downloads through the legacy delivery path.

reservedForReview
boolean
default:false

Keep the bytes of an upload that pre-moderation refused, so the decision can be reviewed. The file record is kept with a rejection and the upload raises file.didReject rather than file.didUpload. Left off, a refused upload is discarded.