Manage Group Membership
user_group_managementLists a user's group memberships, adds the user to specified groups, or removes them from groups through the Delinea API.
Instructions
Add or remove a user from groups.
Parameters
action:
"get" to list groups for the user, "add" to add the user to
groups or "remove" to remove them.
user_id:
Target user identifier.
group_ids:
List of group identifiers used with "add" and "remove".
Returns
dict API response content.
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": {
"action": "<action>",
"user_id": "<user_id>"
},
"name": "user_group_management"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| user_id | Yes | ||
| group_ids | No |