POST
/v1/tools/remove_teammatefreeRemove 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
| Field | Type | Default | What it is |
|---|---|---|---|
email | string | Required | Their 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.