Skip to content
API referenceConsumerConsumer.vspaces

Remove a device from a VSpace

DELETE
/consumer/v1/vspaces/{id}/members/{device_id}

Detaches a device from the selected VSpace inside the current project-scoped consumer account.

Authorization

bearer_auth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

VSpace ID

Formatuuid
device_id*string

Device ID

Formatuuid

Header Parameters

X-Project-Id*string

UUID of the project that scopes consumer accounts, devices, sessions, and VSpaces for the request.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/consumer/v1/vspaces/44444444-4444-4444-4444-444444444444/members/55555555-5555-5555-5555-555555555555" \  -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"}