Skip to end of metadata
Go to start of metadata

Update membership


  • PUT| (root)/group/{group_id}/member
  1. The group_id can be a group name (cn) or a regid.
  2. You must include an If-Match header.
  3. You may specify a wild-card header: If-Match: *

Upload data

  1. This is similar to the response of Get Membership.
  2. Content of the response contains one class "group" with one class "members".
  3. Other html is for browser formatting.
  4. Within the class "members" there is one "member" for each member.
  5. Each "member" must include a "type" attribute. |


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    <html xmlns="" xml:lang="en">
     <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>
      <div class="group">
        Regid: <span class="regid">{regid}</span>
       <ul class="members">
           <a rel="memberlink" class="member" type="{type}"
         <!-- Additional (li) for each member -->



Status only, plus ETag header. Group membership is not returned.


Invalid upload xhtml


No authorization


Group not found


Incorrect If-Match data


Missing If-Match header


  • The response will be 404 only if the group is not found. If one or more members are not found, or if they are not in the dependency group, 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>
  • The response always includes an ETag header, which can be used on subsequent GETs and must be used on subsequent updates or deletes.