Skip to content

List AWS route tables attached to the node host

Request

Retrieves the AWS EC2 route tables associated with the node's network interfaces. Optionally filters by a specific network interface card (NIC). Available on AWS-hosted nodes only.


Requires nodes::service:aws-route-tables or nodes::remote-execute permission.

Security
JWTAuthorizer
Path
nodeIDstringrequired

Node ID

Query
waitinteger

Pass 1 to block until the node responds and return its output.

Value:1
Bodyapplication/json
nicstring

Network interface name to filter route tables. Omit to return all.

Example:"eth0"
curl -i -X POST \
  'https://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/aws-route-tables?wait=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "nic": "eth0"
  }'

Responses

OK

Bodyapplication/json
outputobject
Response
{ "output": { "tables": [] } }