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 10 Next »

Add a member

Resource

  • PUT| (root)/group/{group_id}/member/{member_id}
  • PUT| (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.

GWS tries to guess the type of identifier you enter. You may express the type specifically using a type preface.

  • u: UWNetID
  • e: ePPN
  • g: group id
  • d: DNS name
  • w: UWWI computers

For example, u:spud_123 is a UWNetID, whereas g:spud_123 is a group name.

Return

200

Member(s) added

304

If-None-Match header matches group's ETag

401

Not authorizied

404

Group not found

Notes

  • The response will be 404 only if the group is not found. If one or members are not found the response will be 200 and a class="notfoundmembers" element will be included, containing one "notfoundmember" element for each bogus member.
      <span class="notfoundmembers">
        <span class="notfoundmember">member_id</span>
        ...
      </span>
    
  • The response always includes an ETag header, which can be used on subsequent GETs.
  • No labels