Change settings
Change account settings
fileRetentionDays deletes each file that many days after it was added; null keeps files until you delete them. Files you already have count from the day of the change. A plan's own retention, if it has one, still applies; the earlier date wins. audioLanguage and subtitleLanguage are ISO 639-1 codes every app starts playback with: the audio track in that language when a file has one (null plays the title's original language when the file has it, else the file's default track), and subtitles in that language when a file has them (null keeps subtitles off). autoplayNext plays the next episode after a countdown at the credits (or the end); false offers it without playing it. locale is the language of the website, the emails, and Help (en, pt, es, ar, or fr); null follows the browser. Leave a field out to keep its value. Changing fileRetentionDays needs the files:write scope; the languages need only progress:write, which TV keys have.
bearer progress:writeAuthorizationBearer <token>An API key, an OAuth access token, or a signed-in session token.
Scope: progress:write
application/json- body
fileRetentionDays?|1 <= value <= 3650clearWatchedDays?|1 <= value <= 365audioLanguage?|"en""es""fr""de""it""pt""nl""sv""no""da""fi""is""pl""cs""sk""hu""ro""bg""hr""sr""sl""et""lv""lt""el""tr""ru""uk""ca""eu""gl""he""ar""fa""hi""bn""ta""te""th""vi""id""ms""tl""zh""ja""ko"nullsubtitleLanguage?|"en""es""fr""de""it""pt""nl""sv""no""da""fi""is""pl""cs""sk""hu""ro""bg""hr""sr""sl""et""lv""lt""el""tr""ru""uk""ca""eu""gl""he""ar""fa""hi""bn""ta""te""th""vi""id""ms""tl""zh""ja""ko"nullautoplayNext?booleanlocale?|"en""pt""es""ar""fr"nullSettings
application/json- response
fileRetentionDays*|1 <= value <= 3650clearWatchedDays?|1 <= value <= 365audioLanguage*|"en""es""fr""de""it""pt""nl""sv""no""da""fi""is""pl""cs""sk""hu""ro""bg""hr""sr""sl""et""lv""lt""el""tr""ru""uk""ca""eu""gl""he""ar""fa""hi""bn""ta""te""th""vi""id""ms""tl""zh""ja""ko"nullsubtitleLanguage*|"en""es""fr""de""it""pt""nl""sv""no""da""fi""is""pl""cs""sk""hu""ro""bg""hr""sr""sl""et""lv""lt""el""tr""ru""uk""ca""eu""gl""he""ar""fa""hi""bn""ta""te""th""vi""id""ms""tl""zh""ja""ko"nullautoplayNext*booleanlocale?|"en""pt""es""ar""fr"nullcurl -X PATCH 'https://fastwater.app/v1/me/settings' \ -H 'Content-Type: application/json' \ -d '{}'{ "fileRetentionDays": 1, "clearWatchedDays": 1, "audioLanguage": "en", "subtitleLanguage": "en", "autoplayNext": true, "locale": "en"}