corestack_ team_ member_ remove
Remove a team member.
When to use it
Remove somebody from your company's team: their account is deleted and they can no longer sign in. Ask the person you
act for first, then send confirm_email set to the member's email address, exactly. This is the Control Panel's Delete
on Company › Team and DELETE /api/user/{id}/delete.
Ask for it
Using the Corefinity MCP server, call corestack_team_member_remove with user_id 1042. (Remove a team member.) Tell me what it returned.Inputs
confirm_emailstringRequiredConfirmation
The member's email address, exactly as corestack_team_member_get shows it. Up to 254 characters.
user_idintegerRequired
The team member's id (corestack_team_members_list). At least 1.
Your assistant fills in a confirmation only after you agree.
Example call
{
"name": "corestack_team_member_remove",
"arguments": {
"user_id": 1042,
"confirm_email": "[email protected]"
}
}If it is refused
| Reason | What to do |
|---|---|
confirm_mismatch | confirm_email is not the member's email address; nothing was removed. |
last_owner | They are the company's last owner. |
only_user | They are the company's only user. |
privileged_target | The account is not yours to remove. Only a super administrator may remove a super administrator. A company's owner is removed only by themself, another owner of the same company or Corefinity staff, and the company's primary user only by themself or staff. |
forbidden | You may not remove people (an owner, or the delete users permission, may). |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?