Report updated device network state
Persists the authenticated device's latest network-visible state so peer configs can pick up endpoint changes on the next map rebuild.
Authorization
bearer_auth In: header
Path Parameters
Device ID
uuidHeader Parameters
UUID of the project that scopes consumer accounts, devices, sessions, and VSpaces for the request.
uuidRequest Body
application/json
Latest endpoint and host information reported by the device.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/consumer/v1/devices/55555555-5555-5555-5555-555555555555/map/update" \ -H "X-Project-Id: 11111111-1111-1111-1111-111111111111" \ -H "Content-Type: application/json" \ -d '{ "endpoints": [ { "kind": "stun", "value": "198.51.100.42:41641" } ] }'{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}{ "detail": "Pool slug must be unique.", "instance": "urn:forestvpn:trace:a1b2c3d4", "title": "Validation Error", "type": "https://fvpn.net/errors/validation"}