MCPHerramientas MCP/Equipo/revoke_team_invite

revoke_team_invite

Writeteam:write

Revoke an accepted team member's access, removing them from the agency entirely (this permanently deletes their membership row — it is not reversible; they'd need to be re-invited). Only works for members who already accepted their invite (status "Active"/"Not Active") — use remove_team_member for a pending invite instead, or this throws. Cannot be used on the owner.

Parámetros
memberIdstringobligatorio
The id of the member to revoke (required).
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "revoke_team_invite",
    "arguments": {
      "memberId": "string"
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.