Set a platform admin setting (super-admin only).
curl --request PUT \
--url https://tryno.io/api/admin/settings/{key} \
--cookie __session=const options = {method: 'PUT', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/admin/settings/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/admin/settings/{key}"
headers = {"cookie": "__session="}
response = requests.put(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}moderation
Set a platform admin setting (super-admin only).
PUT
/
admin
/
settings
/
{key}
Set a platform admin setting (super-admin only).
curl --request PUT \
--url https://tryno.io/api/admin/settings/{key} \
--cookie __session=const options = {method: 'PUT', headers: {cookie: '__session='}};
fetch('https://tryno.io/api/admin/settings/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/admin/settings/{key}"
headers = {"cookie": "__session="}
response = requests.put(url, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}
