corestack_ team_ role_ delete
Delete a custom role.
When to use it
Delete one of your company's custom roles that nobody holds. Ask the person you act for first, then send
confirm_name set to the role's name, exactly. This is DELETE /api/roles/{id}/delete.
Ask for it
Using the Corefinity MCP server, call corestack_team_role_delete with role_id 77. (Delete a custom role.) Tell me what it returned.Inputs
confirm_namestringRequiredConfirmation
The role's name, exactly. Up to 255 characters.
role_idintegerRequired
The custom role's id from corestack_team_roles_list. At least 1.
Your assistant fills in a confirmation only after you agree.
Example call
{
"name": "corestack_team_role_delete",
"arguments": {
"role_id": 77,
"confirm_name": "Release managers"
}
}If it is refused
| Reason | What to do |
|---|---|
confirm_mismatch | confirm_name is not the role's name; nothing was deleted. |
in_use | Somebody still holds the role; take it from them first. |
forbidden | You may not delete roles (an owner, or the Delete Roles 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?