Skip to end of metadata
Go to start of metadata

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

  1. Warning: calling delete without any member_id will delete all members from the group.

  2. Thanks Kevin. I added a note about this above.