Networks

Create BGP peer

post/networks/{network_id}/bgp-peers

Set up a dynamic routing (BGP) session so a server in your network can exchange routes automatically with the network gateway.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

network_id*integer
Rango1 ≤ value

Cuerpo de la petición

application/jsonObligatorio
peer_type*BGPPeerType
Valores"ip""vps""baremetal"
peer_target*string
remote_asn*integer
Rango1 ≤ value ≤ 4294967295
max_prefix?integer
Rango1 ≤ value ≤ 1000Por defecto100
description?string | null

Respuestas

Successful Response

application/json

detail*string
peer_id*string
peer_type*string
peer_target*string
remote_asn*integer