Skip to main content
PUT
/
v1
/
sandboxes
/
{id}
/
desktop
/
viewer
/
clipboard
Set text on the guest clipboard through the managed viewer auth token
import requests

url = "https://api.13-215-85-171.sslip.io/v1/sandboxes/{id}/desktop/viewer/clipboard"

payload = { "text": "<string>" }
headers = {"Content-Type": "application/json"}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
{
  "text": "<string>"
}

Path Parameters

id
string
required

Sandbox ID (e.g. sb_a1b2c3d4)

Query Parameters

auth
string
required

Short-lived managed desktop viewer auth token returned by /desktop/stream/start, /desktop/stream/auth-key, or /desktop/viewer/session.

Body

application/json
text
string
required

Response

Updated guest clipboard text for the managed viewer session.

text
string
required