Transit Gateway (TGW)
The Transit Gateway API lets you create, view, and manage transit gateways, attachments, and routing resources. For service features, see the Transit Gateway service documentation.
APIs by resource
Select an API to view its request parameters, request body, and response format.
tip
Enter an API name or resource name (for example, Create TGW attachment or route table) in the search bar in the left sidebar to find the API you need more easily.
Attachments
Manages Transit Gateway attachments.
| API | Method | Path |
|---|---|---|
| Create TGW attachment | POST | /api/v1/attachments |
| Delete TGW attachment | DELETE | /api/v1/attachments/{attachment_id} |
| Get TGW attachment | GET | /api/v1/attachments/{attachment_id} |
| List TGW attachments | GET | /api/v1/attachments |
| Reject TGW attachment | PUT | /api/v1/attachments/{attachment_id}/reject |
| Update TGW attachment | PUT | /api/v1/attachments/{attachment_id} |
Route tables
Manages route tables, routes, and associations.
| API | Method | Path |
|---|---|---|
| Create TGW route | POST | /api/v1/route-tables/{route_table_id}/routes |
| Create TGW route table | POST | /api/v1/route-tables |
| Create TGW route table association | POST | /api/v1/route-tables/{route_table_id}/associations |
| Delete TGW route | DELETE | /api/v1/route-tables/{route_table_id}/routes/{route_id} |
| Delete TGW route table | DELETE | /api/v1/route-tables/{route_table_id} |
| Delete TGW route table association | DELETE | /api/v1/route-tables/{route_table_id}/associations/{association_id} |
| Get TGW route table | GET | /api/v1/route-tables/{route_table_id} |
| List TGW route table associations | GET | /api/v1/route-tables/{route_table_id}/associations |
| List TGW route tables | GET | /api/v1/route-tables |
| List TGW routes | GET | /api/v1/route-tables/{route_table_id}/routes |
| Update TGW route | PUT | /api/v1/route-tables/{route_table_id}/routes/{route_id} |
| Update TGW route table | PUT | /api/v1/route-tables/{route_table_id} |
Transit Gateways
Manages Transit Gateway configuration and sharing.
| API | Method | Path |
|---|---|---|
| Approve TGW attachment | PUT | /api/v1/attachments/{attachment_id}/approve |
| Create transit gateway | POST | /api/v1/tgws |
| Delete transit gateway | DELETE | /api/v1/tgws/{tgw_id} |
| Get transit gateway | GET | /api/v1/tgws/{tgw_id} |
| List TGW shared projects | GET | /api/v1/tgws/{tgw_id}/projects |
| List transit gateways | GET | /api/v1/tgws |
| Share transit gateway | POST | /api/v1/tgws/{tgw_id}/projects/{target_project_id} |
| Unshare transit gateway | DELETE | /api/v1/tgws/{tgw_id}/projects/{target_project_id} |
| Update transit gateway | PUT | /api/v1/tgws/{tgw_id} |