MCPOutils MCP/Équipe/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.
Paramètres
memberIdstringobligatoire
The id of the member to revoke (required).
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "revoke_team_invite",
"arguments": {
"memberId": "string"
}
}
}Exemple de réponse
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.