Remove Agency Team Member
agency_profile_revoke_memberRemoves a staff member from the agency: revokes their membership, all their client assignments, their accepted invites and every API key issued to them through the agency. Requires an agency owner or admin; only the owner can remove an admin, and the owner cannot be removed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"partnerId": "<partnerId>",
"userId": "<userId>"
},
"name": "agency_profile_revoke_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The staff member to remove. | |
| partnerId | Yes | The agency (partner) workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| receipt | No | ||
| success | Yes | Whether the tool completed successfully |