Get User Groups
get_user_groupsLists the groups a Secret Server user belongs to, with paging via take and skip. Use it to review a user's group memberships.
Instructions
List the groups a Secret Server user belongs to.
Calls GET /api/v1/users/{id}/groups. Paged: take (default 50, capped at 500) and skip; total and
hasNext in the response show whether more remain.
Secret Server REST API reference:
https://docs.delinea.com/online-help/secret-server/api-scripting/rest-api/rest-api-reference-download/index.htm
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": {
"user_id": "<user_id>"
},
"name": "get_user_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | ||
| take | No | ||
| user_id | Yes |