cURL
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 } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Scroll the mouse wheel in the specified direction by a number of steps. Optionally moves to (x, y) before scrolling.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Scroll direction: 'up', 'down', 'left', or 'right'
Number of scroll steps (clicks); non-negative integer
x >= 0
Successful Response
Was this page helpful?