Client Config

Update client language

deprecated
POST
https://peertube2.cpy.re/api/v1/client-config/update-language

Set a cookie so that the next time the client refreshes the HTML of the web interface, PeerTube uses the selected language.

Body

application/json
languagestring | nullrequired

Language code to set

Example
en-US

Response

204No Content

successful operation