Справочник APIConsumerConsumer.devices
Stop a device from being an exit node
Эта страница пока доступна только на английском языке. Руководства переведены; автоматически генерируемый справочник API публикуется на английском.
Identical to DELETE /v1/devices/{id}/advertised-routes: clears advertised + approved sets, marks the device inactive, and scrubs any VSpace exit-route pointers. The account owner can revoke any device in the account; a device-session token may only revoke its own device (Phase 6 — lets the headless exit-node CLI's withdraw clean up server state without a user JWT).
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Device ID
Format
uuidHeader Parameters
X-Project-Id*string
UUID of the project that scopes consumer accounts, devices, sessions, and VSpaces for the request.
Format
uuidResponse Body
application/json
application/json
application/json
curl -X POST "https://example.com/consumer/v1/devices/55555555-5555-5555-5555-555555555555/exit-node/disable" \ -H "X-Project-Id: 11111111-1111-1111-1111-111111111111"Empty
{ "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"}