Scrub API
POST/v1/tools/remove_teammatefree

Remove a teammate

Takes a person out of this workspace, by their address, free. What they made stays the workspace’s; the AIs they connected to it are disconnected. The owner’s alone, and the owner stays.

Fields

FieldTypeDefaultWhat it is
emailstringRequiredTheir email address

Call it

Request

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

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.