/
delegation/users/{username}/delegated-groups

delegation/users/{username}/delegated-groups

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:

ParameterTypeDescriptionExampleDefault value
usernameStringmandatory parameter to get all the delegated groups.adminN/A

filter

StringOptional 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.groupempty
paginatebooleanWhether to paginate the results. If set to true, the endpoint will return a paginated list of groups.truefalse
start_pageIntegerThe starting page number for pagination. This is used in combination with page and endPage to determine which portion of the results to return.11
pageIntegerThe current page to be returned for pagination.21
end_pageIntegerThe 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"
}

Related content

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.