/
delegation/users/{username}/delegated-groups
delegation/users/{username}/delegated-groups
Jan 31, 2025
Method: GET
Produces: application/json
Description:
This endpoint returns a list of delegated groups associated with the provided user name. It can apply filtering based on group names and paginate the results.
Query Parameters:
| Parameter | Type | Description | Example | Default value |
|---|---|---|---|---|
username | String | mandatory parameter to get all the delegated groups. | admin | N/A |
| String | Optional filter text to search for specific groups by name and it returns if the group name contains this value. If the value is undefined or null, it will return all groups. | group | empty |
paginate | boolean | Whether to paginate the results. If set to true, the endpoint will return a paginated list of groups. | true | false |
start_page | Integer | The starting page number for pagination. This is used in combination with page and endPage to determine which portion of the results to return. | 1 | 1 |
page | Integer | The current page to be returned for pagination. | 2 | 1 |
end_page | Integer | The last page to be displayed for pagination. | 5 | -1 (defaults to last page) |
Request
Sample request
curl -u admin:admin -X GET -H "Content-Type: application/json" http://your.server.url/rest/wittified/delegated-groups/1.0/delegation/users/automation/delegated-groups?filter=&paginate=true&start_page=1&page=1&end_page=-1
Sample response
{
"delegatedGroups": [
"confluence-administrators",
"confluence-users"
],
"groupsInfo": {
"confluence-administrators": {
"groupName": "confluence-administrators",
"userCount": 3,
"isFavorite": false,
"isNew": null,
"appName": "confluence"
},
"confluence-users": {
"groupName": "confluence-users",
"userCount": 3976,
"isFavorite": false,
"isNew": null,
"appName": "confluence"
}
},
"pageEntity": {
"startPage": 1,
"endPage": 1,
"totalSize": 4,
"page": 1
},
"viewPreference": "default",
"total": 4,
"appName": "confluence"
}
, multiple selections available,
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.
