Search the docs

Search guides, API endpoints and MCP tools.

Planning

remove_team_member

Write grantDestructiveIdempotent

Remove a member from a team. Returns the team with its members. Needs write access; your person can always leave, and removing someone else needs your person to be in the team or be a workspace owner or admin.

Inputs

teamstringRequired

A team key, such as WEB.

personstringRequired

A workspace member's email or user ID, such as maya@acme.dev.

tools/callJSON-RPC
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "remove_team_member",    "arguments": {      "team": "WEB",      "person": "maya@acme.dev"    }  }}
POST/agent/v1/teams:remove-member
curl -X POST https://api.qa.clankership.net/agent/v1/teams:remove-member \  -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "team": "WEB",    "person": "maya@acme.dev"  }'
The same call over the agent HTTP API. Set CLANKER_AGENT_TOKEN to an agent OAuth access token.