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": [
    "959059b7-06d8-416f-baf4-49617d2590da",
    "56d2871c-0985-44d3-b256-f56082868ef5"
  ]
}

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