CorefinityCorefinityDocs
Open the Control PanelControl Panel
Team · 6 of 13

corestack_team_member_remove

Remove a team member.

Scope writeAsks you to confirmNo secrets returned
On this page

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

Prompt
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

tools/call
{
  "name": "corestack_team_member_remove",
  "arguments": {
    "user_id": 1042,
    "confirm_email": "[email protected]"
  }
}

If it is refused

ReasonWhat to do
confirm_mismatchconfirm_email is not the member's email address; nothing was removed.
last_ownerThey are the company's last owner.
only_userThey are the company's only user.
privileged_targetThe 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.
forbiddenYou may not remove people (an owner, or the delete users permission, may).
invalid_argumentsThe 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_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe 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_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT