Remove Staff Member from Client
agency_profile_unassignRemoves a staff member's agency assignment to one client business, and removes the business membership if this assignment created it. Requires an agency owner or admin; only the owner can unassign an admin. It does not remove the person from the agency.
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>",
"businessId": "<businessId>"
},
"name": "agency_profile_unassign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The agency staff member to unassign. | |
| partnerId | Yes | The agency (partner) workspace ID. | |
| businessId | Yes | The client business to remove access from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| receipt | No | ||
| success | Yes | Whether the tool completed successfully |