Devices
Update a Device
PATCH
header
AuthorizationBearer <token>qlt_… Access token (kind api)
account_id*stringdevice_id*stringapplication/json- body
name?stringMatch
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$groups?array<string>Servers only
subnet_routes?array<string>approve routes the Device advertises
exit_node?booleanallow the Device to act as an exit node
key_expiry_disabled?booleanOK
application/json- response
id*stringname*stringDevice name, unique in the Network
fqdn?stringkind*stringValue in
"personal""server"owner_member_id?string|nullowner_external_id?stringonly when the owner is a Partner person: the Partner's id of the person
os*stringapp_version?string|nulladdress*stringonline*booleanlast_seen_at?|Format
date-timeapproved*booleankey_expires_at?|Format
date-timegroups?array<string>connections?array<>latest Engine report, per peer
traffic?|what this Device's engine counted over the last days days (UTC), from its traffic reports (docs/contract/engine.md); null for an engine that sends no counters. Filled on GET of the list and of one Device
subnet_routes?array<string>approved
advertised_routes?array<string>what the Device offers; only these can be approved
exit_node?booleancreated_at?stringFormat
date-timecurl -X PATCH 'https://tiltas.openpanel.sh/api/v1/accounts/string/devices/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "string", "name": "string", "fqdn": "string", "kind": "personal", "owner_member_id": "string", "owner_external_id": "string", "os": "string", "app_version": "string", "address": "string", "online": true, "last_seen_at": "2019-08-24T14:15:22Z", "approved": true, "key_expires_at": "2019-08-24T14:15:22Z", "groups": [ "string" ], "connections": [ { "peer_address": "string", "peer_device_id": "string", "mode": "direct", "relay": "string", "latency_ms": 0, "tx_bytes": 0, "rx_bytes": 0 } ], "traffic": { "direct_bytes": 0, "relayed_bytes": 0, "direct_share": 0, "days": 0 }, "subnet_routes": [ "string" ], "advertised_routes": [ "string" ], "exit_node": true, "created_at": "2019-08-24T14:15:22Z"}