remove_users_from_group_by_attribute
Remove active Okta users from a group by matching a profile attribute and value; preview bulk changes with dry-run and require confirmation before removal.
Instructions
Find ACTIVE users by profile attribute and remove them from a group.
⚠️ BULK OPERATION. Defaults to dry_run=True for safety.
Args: attribute: Profile attribute (e.g. 'division') value: Attribute value to match group_id: Okta group ID to remove users from dry_run: Preview only if True (default) confirm_removal: Must be True when dry_run=False override_cap: Must be True to proceed if the match count exceeds the safety cap
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": {
"attribute": "<attribute>",
"value": "<value>",
"group_id": "<group_id>"
},
"name": "remove_users_from_group_by_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| dry_run | No | ||
| group_id | Yes | ||
| attribute | Yes | ||
| override_cap | No | ||
| confirm_removal | No |