provider_modify_user_groups
Modify a user's group memberships by adding group references, enabling pre-populated access assignments before the user first logs in.
Instructions
Modifies the list of groups that the user with the given id belongs to. Adds a list of group references that the user with the given id belongs to. This endpoint allows for the group membership info to be pre-populated before a user logs in for the first time. PUT /cloudapi/1.0.0/users/{userUrn}/groups
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": {
"userUrn": "<userUrn>",
"body": "<body>"
},
"name": "provider_modify_user_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | A list of entity references. | |
| userUrn | Yes | userUrn (path) |