XPipe LogoXPipe Documentation

Remove connection

Removes a set of connections. This includes any possible children associated with the connection. Some connections, for example the local machine, can not be removed.

POST
/connection/remove

Authorization

bearerAuth
AuthorizationBearer <token>

The bearer token used is the session token that you receive from the handshake exchange.

In: header

Request Body

application/json

connections*array<string>

The connections to remove

Response Body

application/json

application/json

curl -X POST "http://localhost:21721/connection/remove" \  -H "Content-Type: application/json" \  -d '{    "connections": [      "36ad9716-a209-4f7f-9814-078d3349280c"    ]  }'
Empty
{
  "message": "string"
}
Empty
Empty
{
  "error": {
    "cause": {},
    "stackTrace": [],
    "suppressed": [],
    "localizedMessage": "string",
    "message": "string"
  }
}