Edit Group
Edit an Active Directory or Lightweight Directory Access Protocol group.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | securityAdmin |
HTTP method
POST /manager/api/{apiResponseType}/editGroup.adm HTTP/1.1 HOST:{manager.dsnet}
id={groupId}
Curl method
curl -u {admin}:{password} -k
“https://{manager.dsnet}/manager/api/{apiResponseType}/editGroup.adm” -d
“id={groupId}”
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
ID of the group to be modified. |
|
| alias | String | Optional |
Friendly name to give to the group. |
|
| rolesMap | Set[{role}] | Optional |
Key is name of role string that includes:
An account cannot be assigned with readOnlysystemAdmin/SystemAdmin or readOnlySecurityOfficer/securityOfficer together at the same time. |
|
| vaultUserPermissions | Map[{vaultId}] | Optional | disabled |
With specific vault ID, set vault access permissions to 1 of three options.
Multiple vaultUserPermission[{vaultId}] parameters can be passed as part of the editGroup call.
|
| defaultDevicePermission | String | Optional | noAccess | Default access permission that can be set on all devices except manager that will enable user
to perform actions using nut interface. Can be 1 of 4 options
|
| managerDevicePermission | String | Optional | noAccess | Manager access permission that is specific to manager devices to enable user to perform actions using nut interface. Can be 1 of 4 options as listed above |
| siteDevicePermissions | Map[{siteId}] | Optional | noAccess | For specific site ID, device access permission can be set to 1 of 4 options, as listed above |
| regionDevicePermissions | Map{regionId} | Optional | noAccess | For specific region ID, device access permission can be set to 1 of 4 options, as listed above |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.