4.3.2.3 Remove members from a department (by member ID)
POST /rest/orgwise/3/department/{id}/remove/ids
DESCRIPTION
Remove members from a department by their member ID. Multiple members can be removed at one API call.
MEDIA TYPE
application/json
PATH PARAM
Param | Description | Required |
---|---|---|
id | The ID or No. of a department. | Required |
REQUEST BODY
{
"members": "1, 4, 8"
}
BODY PARAM
Param | Type | Description | Required |
---|---|---|---|
members | string | IDs of members to be removed from the department, saperated by “,“. | Required |
RESPONSE
{
"code": 0,
"msg": "Success"
}