Delete a member
Resource
- DELETE| (root)/
group/{
group_id
}/member/{
member_id
}
- DELETE| (root)/
group/{
group_id
}/member/{
member_id
}
,{member_id},...
The group_id can be a group name (cn) or a regid.
A set of members can be specified with a comma-separated list.
Specifying no members will delete all members. See Groups WebService Delete Members
GWS tries to guess the type of identifier you enter. You may express the type specifically using a type preface.
- u: UW NetID
- e: ePPN
- g: group id
- d: DNS name
- w: UWWI computers
For example, u:spud_123 is a UW NetID, wheres g:spud_123 is a group id.
Return
200 | Member(s) deleted |
401 | Not authorized |
404 | Group not found |
Notes
- Delete member does not use an If-Match header.
2 Comments
Kevin Coleman
Warning: calling delete without any
member_id
will delete all members from the group.Nathan Dors
Thanks Kevin. I added a note about this above.