Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Call Instructions:

  1. This interface is used to batch remove members for a specified group

  2. This interface is called only by system administrators


Interface Information

Name

remove member

Address

/rest/tools/1.0/api/group/removeUserFromGroup

Method

POST

Return Type

Json

Authentication

Basic,token

Header Parameter

Parameter name

Required

Parameter type

Description

ContentType

Y

String

application/json

body Parameters

Parameter name

Required

Parameter type

Description

groupName

Y

String

group name

userNames

Y

String[]

user name list

return value format

Field

Type

Description

code

int

Appendix - Code

msg

String

data

String

{
“groupName”:” group name”
“users”:[{

    "name":"user name",

    "key":"user key",

    "fullName":"full name",

    "email":"email"

}]

}


Example Postman call


Example body request parameters:

{
    "groupName":"test_group",
    "userNames":["aa"]
}

Example return value

{
    "code": 0,
    "msg": "Success",
    "data": {
        "groupName": "test_group",
        "users": [
            {
                "name": "aabb",
                "key": "40288c8281f00b880181f04e469a0000",
                "fullName": "d-bb",
                "email": "bbaa@shdsd.com"
            }
        ]
    }
}

  • No labels