assign_users_to_groups
Assign users to specific groups in the Okta MCP Server using attribute-based mapping, streamlining group management and organization.
Instructions
Assign multiple users to groups based on attributes
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attributeMapping | Yes | Mapping of user attributes to group IDs (e.g., {"department": {"Engineering": "group1Id", "Sales": "group2Id"}}) | |
userIds | Yes | List of user IDs to assign |
Input Schema (JSON Schema)
{
"properties": {
"attributeMapping": {
"description": "Mapping of user attributes to group IDs (e.g., {\"department\": {\"Engineering\": \"group1Id\", \"Sales\": \"group2Id\"}})",
"type": "object"
},
"userIds": {
"description": "List of user IDs to assign",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"userIds",
"attributeMapping"
],
"type": "object"
}