DorkOS
ApiComputersControl

Return control and release held input

DELETE
/api/computers/control

Experimental local computer. Only the account owner may use this route. X-Client-Id identifies the admitted app window; it is required on reads and actions. Requests never accept guest endpoints, credentials or host paths. Control and input are bound to the app window and current generation. With login enabled, the existing login cookie is required. Errors expose a safe code, never private guest details. Stop can return cleanup-uncertain; that response does not confirm physical shutdown.

Header Parameters

X-Client-Id*string
Match^[A-Za-z0-9_-]+$
Length1 <= length <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/computers/control" \  -H "X-Client-Id: string" \  -H "Content-Type: application/json" \  -d '{    "leaseId": "string"  }'
{  "ok": true}