Skip to main content

Create User group

Create a new user-group

Request Body
  • name string required

    To create an active directory usergroup, the domain name should be mentioned along with the usergroup name (domainName\usergroupName) and localUserGroup value must be given.

  • description string
  • enforceFSQuota boolean

    Used to determine if a backup data limit will be set for the user group being created

  • quotaLimitInGB int32

    if enforceFSQuota is set to true, the quota limit can be set in GBs

  • localUserGroups object[]

    This option is for AD user groups being created. Local user groups can be added to the active directory user groups.

  • id int32
  • name string
Responses

Success


Schema
  • id int32
  • name string
POST /v4/usergroup    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://localhost/webconsole/api
token
Body
{
"name": "string",
"description": "string",
"enforceFSQuota": true,
"quotaLimitInGB": 0,
"localUserGroups": [
{
"id": 0,
"name": "string"
}
]
}
curl -L -X POST 'https://localhost/webconsole/api/V4/UserGroup' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"description": "string",
"enforceFSQuota": true,
"quotaLimitInGB": 0,
"localUserGroups": [
{
"id": 0,
"name": "string"
}
]
}'