accessmanagement - users

Lists a specific user’s resource groups.

This endpoint lists a specific user’s resource groups, helping ensure the user has access only to the appropriate areas of the system.</br></br>Key features include:</br></br>- Clear success messaging: Returns a 200 success code with a confirmation message indicating the successful completion of the requested action.</br>- Comprehensive error handling: Returns 400 and 404 error codes with clear descriptions when requests fail.</br>- Targeted data retrieval: Employs the userId parameter to return the specified user's resource groups, ensuring accuracy and relevance in the response.

get/accessmanagement/users/{userId}/resourcegroups

Request

Path parameters

userIdinteger required

Filters data by the user’s unique identifier.

Response

Resource groups returned successfully.

totalinteger
countinteger
perPageinteger
currentPageinteger
totalPagesinteger

Example response

{
  "data": [
    {
      "id": 21,
      "name": "Default",
      "description": "Resource group description.",
      "canDelete": true,
      "canRename": true,
      "isDefault": true,
      "resourceCount": 21,
      "userGroupCount": 10,
      "userGroupSummary": [
        {
          "id": 128,
          "name": "Default user group",
          "roles": [
            {
              "id": 3,
              "name": "Admin",
              "description": "Administrator role with full permissions",
              "roleType": "System Role",
              "userCount": 1,
              "modifiedTs": "2025-09-01T15:37:56.338909+02:00",
              "createdTs": "2025-09-01T15:37:56.338859+02:00"
            }
          ]
        }
      ]
    }
  ],
  "total": 25,
  "count": 10,
  "perPage": 10,
  "totalPages": 3
}

Changes

No recorded changes to this operation across all 1 revision of this API.