Skip to Content
Access

What a Device can reach

What this Device can reach and why (which Access rule), computed from the same compiled policy the Coordinator enforces.

GET
/accounts/{account_id}/devices/{device_id}/reachable

What this Device can reach and why (which Access rule), computed from the same compiled policy the Coordinator enforces.

Authorization

headerAuthorizationBearer <token>

qlt_… Access token (kind api)

Path Parameters

account_id*string
device_id*string

Response Body

OK

application/json
  1. response
device_id*string
reaches*array<>
ssh?array<>
Example Request
curl -X GET 'https://tiltas.openpanel.sh/api/v1/accounts/string/devices/string/reachable'
Example Response200
{  "device_id": "string",  "reaches": [    {      "device_id": "string",      "service_id": "string",      "ports": [        "string"      ],      "rule_id": "string"    }  ],  "ssh": [    {      "device_id": "string",      "users": [        "string"      ],      "check": true    }  ]}