---
title: "POST /api/users/create-user-group"
method: POST
path: "/api/users/create-user-group"
tags: ["groupmanagement"]
---

# POST /api/users/create-user-group

`POST /api/users/create-user-group`

## Query parameters

- `newUserGroup` string
- `productGroupId` string

## Response `200`

Success

- CreateUserGroupResponse
  - `arrInput` InputError[], nullable
    - `ErrorCode` string, nullable
    - `ErrorMessage` string, nullable
    - `ErrorControl` string, nullable
  - `usergroup` UserGroups
    - `partyGroupId` string, nullable
    - `partyGroupName` string, nullable
    - `adminPartyId` string, nullable
    - `status` string, nullable
    - `isDefaultGroup` string, nullable
    - `totalContacts` string, nullable
    - `productGroupName` string, nullable
    - `associatedPGList` ProductGroupListforUG[], nullable
      - `productGroupId` string, nullable
      - `productGroupName` string, nullable
      - `MSSPId` string, nullable
    - `setAsDefaultGroup` string, nullable
    - `renameLink` string, nullable
    - `usersForUserGroup` UsersForUserGroup[], nullable
      - `name` string, nullable
      - `login` string, nullable
      - `email` string, nullable
      - `partyGroupId` string, nullable
      - `contactId` string, nullable
      - `partyId` string, nullable
      - `adminPartyId` string, nullable
      - `lastAccessDate` string, nullable
      - `dtLastAccessDate` string, nullable
      - `lastAccessTime` string, nullable
      - `isReadOnlyAccess` string, nullable
    - `deleteLink` string, nullable
    - `mgeProdGrpPagelink` string, nullable
    - `isReadOnlyAccess` string, nullable
    - `MSSPID` string, nullable
    - `msspScope` string, nullable
    - `scopedMSSPID` string, nullable
    - `orgID` string, nullable
    - `isAffilated` string, nullable
    - `isAutoAffiliated` 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)
