Bulk update stopbar-to-lead-on links for an airport
curl --request POST \
--url https://v2.stopbars.com/airports/{icao}/links/bulk \
--header 'Content-Type: application/json' \
--header 'X-Vatsim-Token: <api-key>' \
--data '{}'import requests
url = "https://v2.stopbars.com/airports/{icao}/links/bulk"
payload = {}
headers = {
"X-Vatsim-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Vatsim-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://v2.stopbars.com/airports/{icao}/links/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"linked": 123,
"unlinked": 123
}Points
Bulk update stopbar-to-lead-on links for an airport
Apply multiple link and unlink operations in a single request. Supports multiple stopbars per lead-on.
POST
/
airports
/
{icao}
/
links
/
bulk
Bulk update stopbar-to-lead-on links for an airport
curl --request POST \
--url https://v2.stopbars.com/airports/{icao}/links/bulk \
--header 'Content-Type: application/json' \
--header 'X-Vatsim-Token: <api-key>' \
--data '{}'import requests
url = "https://v2.stopbars.com/airports/{icao}/links/bulk"
payload = {}
headers = {
"X-Vatsim-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Vatsim-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://v2.stopbars.com/airports/{icao}/links/bulk', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"linked": 123,
"unlinked": 123
}Authorizations
VatsimTokenApiKeyAuth
VATSIM authentication token obtained via OAuth callback.
Path Parameters
Body
application/json
Was this page helpful?
