Access User View - Access User Management

Modify User Group

Modify information about a user group with the specified ID.

Interface URI

/uam/acmUserGroup/{id}

Access Method

HTTP
PUT
Parameters
Path parameters
id User group ID.
Long integer type. Required. No default value.
Message body
<acmUserGroup>
<description>Test user group.</description>
<operator>1</operator>
<operator>2</operator>
<operator>3</operator>
</acmUserGroup>
Element description
acmUserGroup sub-elements
description User group description
String type. Optional. No default value. The string cannot exceed 127 characters.
operator ID of the operator who has the privilege to the current user group
Long integer type. Optional. No default value. For an operator who has the privilege to all user groups, the operator has the privilege to the current group by default even if the operator is not specified for the group.

Return Values

Status code
  • 204 (No Content): Success.
  • 404 (Not Found): No data is found with the ID.
  • 409 (Conflict): Failure.
Error codes
Error codes
69404 The operator does not exist.

Example

Modify information about the user group with ID 4.

Request
PUT http://inc_host:8080/imcrs/uam/acmUserGroup/4
accept: application/xml
...
<acmUserGroup>
<name>test</name>
<description>Test user group.</description>
<parentId>2</parentId>
<operator>1</operator>
<operator>2</operator>
<operator>3</operator>
</acmUserGroup>
Response
HTTP/1.1 204 No Content

...