PATCH
/
v1
/
connections
/
{connection_id}
Update Connection
curl --request PATCH \
  --url https://api.cyberdesk.io/v1/connections/{connection_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "websocket_id": "<string>",
  "ip_address": "<string>",
  "user_agent": "<string>",
  "machine_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "websocket_id": "<string>",
  "ip_address": "<string>",
  "user_agent": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "machine_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "connected_at": "2023-11-07T05:31:56Z",
  "disconnected_at": "2023-11-07T05:31:56Z",
  "last_ping": "2023-11-07T05:31:56Z",
  "status": "connected"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connection_id
string<uuid>
required

Body

application/json

Schema for creating a connection

Response

200
application/json

Successful Response

Connection response schema