Files
Keep files from auto-delete
POST
Up to 500 file IDs. keep: true keeps them from the account's auto-delete setting; keep: false lets it delete them again. A plan's own retention, if it has one, still applies. IDs that are not your files are skipped.
bearer files:writeheader
AuthorizationBearer <token>An API key, an OAuth access token, or a signed-in session token.
Scope: files:write
application/json- body
fileIds*array<>Items
1 <= items <= 500keep*booleanKept
application/json- response
updated*integercurl -X POST 'https://fastwater.app/v1/files/keep' \ -H 'Content-Type: application/json' \ -d '{ "fileIds": [ "string" ], "keep": true}'Example Response
{ "updated": 0}