Skip to main content
POST
/
v1
/
machines
/
{machine_id}
/
cyberdriver
/
shutdown
Shutdown Cyberdriver via tunnel
curl --request POST \
  --url https://api.cyberdesk.io/v1/machines/{machine_id}/cyberdriver/shutdown \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source": "cloud-api",
  "reason": "user_disabled_machine"
}
'
{
  "status": "shutting_down",
  "pid": 12345,
  "reason": "user_disabled_machine",
  "source": "cloud-api"
}

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

Unique key for idempotent requests. If provided, the server ensures the request is processed at most once. Retries with the same key return the original response. SDKs auto-generate this for write requests.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Path Parameters

machine_id
string
required

Body

application/json
source
string
default:cloud-api

Caller identifier for shutdown auditing

reason
string | null
default:user_disabled_machine

Reason for shutting down the CyberDriver process

Response

Shutdown was accepted by CyberDriver

The response is of type Response Cyberdriver Shutdown V1 Machines Machine Id Cyberdriver Shutdown Post · object.