---
title: "GET /api/users/get-usergroups-for-tenant"
method: GET
path: "/api/users/get-usergroups-for-tenant"
tags: ["groupmanagement"]
---

# GET /api/users/get-usergroups-for-tenant

`GET /api/users/get-usergroups-for-tenant`

## Query parameters

- `tenantId` string

## Response `200`

Success

- ListUserGroupsResponse
  - `content` ListUserGroupResp
    - `availbleUserGroup` UserGrupList[], nullable
      - `partyGroupId` string, nullable
      - `partyGroupName` string, nullable
      - `isDefaultGroup` string, nullable
      - `orgId` string, nullable
      - `renameLink` string, nullable
      - `deleteLink` string, nullable
      - `SetDefaultLink` string, nullable
      - `totalContacts` string, nullable
      - `isAffiliated` string, nullable
      - `isAutoAffiliated` string, nullable
      - `isReadOnlyAccess` string, nullable
      - `mgeProdGrpPagelink` string, nullable
    - `assignedUserGroup` UserGrupList[], nullable
      - `partyGroupId` string, nullable
      - `partyGroupName` string, nullable
      - `isDefaultGroup` string, nullable
      - `orgId` string, nullable
      - `renameLink` string, nullable
      - `deleteLink` string, nullable
      - `SetDefaultLink` string, nullable
      - `totalContacts` string, nullable
      - `isAffiliated` string, nullable
      - `isAutoAffiliated` string, nullable
      - `isReadOnlyAccess` string, nullable
      - `mgeProdGrpPagelink` string, nullable
    - `showCreateUserGrplink` string, nullable
  - `operationStatus` string, nullable
  - `msgCode` string, nullable
  - `msgId` string, nullable
  - `msgDesc` string, nullable

---

[API](https://skmtc.dev/mysonicwall/apis/restapi-core-v1.md) · [All operations](https://skmtc.dev/mysonicwall/apis/restapi-core-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mysonicwall/restapi-core-v1/revisions/ddffed195eba/schema)
