Update preferred display name mode
curl --request PUT \
--url https://v2.stopbars.com/auth/display-mode \
--header 'Content-Type: application/json' \
--header 'X-Vatsim-Token: <api-key>' \
--data '{}'import requests
url = "https://v2.stopbars.com/auth/display-mode"
payload = {}
headers = {
"X-Vatsim-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-Vatsim-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://v2.stopbars.com/auth/display-mode', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Auth
Update preferred display name mode
PUT
/
auth
/
display-mode
Update preferred display name mode
curl --request PUT \
--url https://v2.stopbars.com/auth/display-mode \
--header 'Content-Type: application/json' \
--header 'X-Vatsim-Token: <api-key>' \
--data '{}'import requests
url = "https://v2.stopbars.com/auth/display-mode"
payload = {}
headers = {
"X-Vatsim-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-Vatsim-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://v2.stopbars.com/auth/display-mode', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Was this page helpful?
