computer

Drag mouse (native)

Perform a drag operation using absolute coordinates with required start and optional duration.

post/v1/computer/{machine_id}/input/mouse/drag

Request

  • Base URL
    https://api.cyberdesk.io
  • URL
    https://api.cyberdesk.io/v1/computer/{machine_id}/input/mouse/drag
  • Auth
    HTTP bearer

Path parameters

machine_idstring required

Headers

Idempotency-Keystring
Example:550e8400-e29b-41d4-a716-446655440000

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.

Request body

to_xinteger required
to_yinteger required
start_xinteger required
start_yinteger required
durationnumber nullable
buttonstring nullable

'left' | 'right' | 'middle'

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.