Skip to main content
POST
/
v1
/
computer
/
{machine_id}
/
input
/
mouse
/
scroll
Scroll mouse wheel
curl --request POST \
  --url https://api.cyberdesk.io/v1/computer/{machine_id}/input/mouse/scroll \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "direction": "<string>",
  "amount": 1,
  "x": 123,
  "y": 123
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Path Parameters

machine_id
string
required

Body

application/json
direction
string
required

Scroll direction: 'up', 'down', 'left', or 'right'

amount
integer
required

Number of scroll steps (clicks); non-negative integer

Required range: x >= 0
x
integer | null
y
integer | null

Response

Successful Response