Skip to main content
POST
/
browsers
/
{id}
/
computer
/
cursor
Set cursor visibility
curl --request POST \
  --url https://api.onkernel.com/browsers/{id}/computer/cursor \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "hidden": true
}'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Browser session ID

Body

application/json
hidden
boolean
required

Whether the cursor should be hidden or visible

Response

Cursor visibility set

Generic OK response.

ok
boolean
default:true
required

Indicates success.