Scrub API
POST/v1/tools/leave_teamfree

Leave the team

You leave this workspace, free: the person this call acts for, never anyone else. What you made stays the workspace’s; the AIs you connected to it are disconnected, the keys you made for it and your upload links stop working, and your browsers leave it. To come back, the owner invites you again. A member’s; the owner stays in their own workspace.

Fields

No fields: send {}.

Call it

Request

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

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.