POST api/UserManager/ChangeAccessGroup

Changing the access control group

Request Information

URI Parameters

None.

Body Parameters

Access control group

AccessControl
NameDescriptionTypeAdditional information
Name

Group name

string

None.

Id

Group ID

integer

None.

UserIds

A list of GUIDs of users in the access control group

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "id": 2,
  "userIds": [
    "a715e0df-927b-45e3-884d-a498e3ae13ba",
    "e57eaae6-614f-48be-a8b6-f6f2fc2dd6a4"
  ]
}

Response Information

Resource Description

Result containing the flag of successful operation

ObjResultOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

Parameter Information

group

Access Control Group

Property Description
Name (String)
Group name
Id (Int64)
Group ID
UserIds (Guid[])
A list of GUIDs of users in the access control group