POST
/v1/tools/remove_computerfreeRemove 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
| Field | Type | Default | What it is |
|---|---|---|---|
computer_id | string | Required | pc_…, 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.