unassign_users_from_application_by_attribute
Removes active users from an Okta application by matching a profile attribute value, with a dry-run preview by default for safe bulk unassignment.
Instructions
Find ACTIVE users by profile attribute and remove them from an application.
⚠️ BULK OPERATION. Defaults to dry_run=True for safety.
Args: app_id: The Okta application ID attribute: Profile attribute (e.g. 'division') value: Attribute value to match 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": {
"app_id": "<app_id>",
"attribute": "<attribute>",
"value": "<value>"
},
"name": "unassign_users_from_application_by_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| app_id | Yes | ||
| dry_run | No | ||
| attribute | Yes | ||
| override_cap | No | ||
| confirm_removal | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |