bridges

Replace bridge routes

Replace a bridge's automatic TCP routes.

Explicit .cnc-bridge-<bridge_id> hostnames take priority, then exact routes, then regex routes.

Required permission: bridges.update.

put/v1/projects/{project_id}/bridges/{bridge_id}/routes

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

bridge_id, string uuid required

Bridge ID from GET /bridges.

Request body

BridgeRoutesUpdateRequest required

Complete set of automatic routes for a bridge.

routes, BridgeRoute[] required

Routes that replace the bridge's current routes. Up to 32 per bridge and 256 across the project.

Response

Successful Response

BridgeRoutesResponse required
bridge_id, string uuid required

Bridge the routes belong to.

routes, BridgeRoute[] required

Automatic routes of the bridge.

Changes

No recorded changes to this operation across all 17 revisions of this API.