Skip to main content
POST
/
airports
/
{icao}
/
points
/
{stopbarId}
/
link
Link a lead-on to a stopbar for auto-toggle
curl --request POST \
  --url https://v2.stopbars.com/airports/{icao}/points/{stopbarId}/link \
  --header 'Content-Type: application/json' \
  --header 'X-Vatsim-Token: <api-key>' \
  --data '
{
  "leadOnId": "<string>"
}
'

Authorizations

X-Vatsim-Token
string
header
required

VATSIM authentication token obtained via OAuth callback.

Path Parameters

icao
string
required
stopbarId
string
required

Body

application/json
leadOnId
string
required

ID of the lead-on to link

Response

Link created