Skip to content

Update an export policy prefix

Request

Update an exported prefix entry in an export policy.


Requires nodes::configure:network permission.

Security
JWTAuthorizer
Path
nodeIDstringrequired

Node ID

peerGroupIdstringrequired

BGP peer group ID

exportPolicyIdstringrequired

BGP export policy ID

prefixIdstringrequired

BGP prefix entry ID

Bodyapplication/jsonrequired

BGP export prefix update request

prefixstringrequired

IPv4 CIDR prefix to export

Example:"10.0.200.0/24"
descriptionstring

Optional description for this export prefix

curl -i -X PUT \
  'https://apidocs.trustgrid.io/_mock/v2/node/{nodeID}/config/network/bgp/peer-group/{peerGroupId}/export-policy/{exportPolicyId}/match/prefixes/{prefixId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "prefix": "10.0.200.0/24",
    "description": "string"
  }'

Responses

OK

Response
No content