Scrub API
POST/v1/tools/remove_computerfree

Remove a computer

Removes a computer from this workspace, free: the Scrub app on it is signed out and records no more work there. Its jobs stay. Signing in again adds it back. The workspace’s owner removes any computer; a member only their own (yours in list_computers).

Fields

FieldTypeDefaultWhat it is
computer_idstringRequiredpc_…, from list_computers

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/remove_computer \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"computer_id":"…"}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.