Create User group
Create a new user-group
- application/json
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[]
Responses
- 200
- 400
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
{
"id": 0,
"name": "string"
}
Bad Request
Internal Server Error
POST /v4/usergroup
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'
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"
}
]
}'