Skip to main content
POST
/
api
/
keyboard
/
release
Release Key
curl --request POST \
  --url http://localhost:4242/{computer_name}/api/keyboard/release \
  --header 'Content-Type: application/json' \
  --data '
{
  "display_num": 1,
  "key": "enter"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json

Key to release

key
string
required

Key to press (e.g., 'a', 'enter', 'shift', 'ctrl', 'alt', etc.)

Example:

"enter"

display_num
integer
default:1

Display number to target

Example:

1

Response

Successfully released the key