Method description


deleteMembership is the method to remove a person as members in a single group.

Preconditions for use

You will need to know the syncID of the previously created membership.

Message Schema

Input parameters / request message elements

Name

Description

Data type

Allowed values

M/O

<sourcedId><identifier>

The unique membership syncID for this group / person mapping

Text

Max 255 characters

M

Please refer to the WSDL for the full element structure, only key elements are described here

Response message elements


Name

Description

Data type

deleteMembershipResponse

Empty response element

Empty

Example

Description

I want to delete a membership in itslearning with syncID = M1

Example request message

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ims="http://www.imsglobal.org/services/mms/xsd/imsMemberManMessSchema_v1p0" xmlns:ims1="http://www.imsglobal.org/services/common/imsCommonSchema_v1p0" xmlns:ims3="http://www.imsglobal.org/services/common/imsMessBindSchema_v1p0">
<soapenv:Header>
<ims3:syncRequestHeaderInfo>
<ims3:messageIdentifier>1</ims3:messageIdentifier>
</ims3:syncRequestHeaderInfo>
</soapenv:Header>
<soapenv:Body>
<ims:deleteMembershipRequest>
<ims:sourcedId>
<ims1:identifier>M1</ims1:identifier>
</ims:sourcedId>
</ims:deleteMembershipRequest>
</soapenv:Body>
</soapenv:Envelope>


Example response message

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope">
<s:Header>
<h:syncResponseHeaderInfo>
<messageIdentifier>1</messageIdentifier>
<statusInfo>
<codeMajor>success</codeMajor>
<severity>status</severity>
<messageIdRef>1</messageIdRef>
</statusInfo>
</h:syncResponseHeaderInfo>
<o:Security s:mustUnderstand="1">
<u:Timestamp u:Id="_0">
<u:Created>2011-02-03T15:06:26.749Z</u:Created>
<u:Expires>2011-02-03T15:11:26.749Z</u:Expires>
</u:Timestamp>
</o:Security>
</s:Header>
<s:Body>
<deleteMembershipResponse/>
</s:Body>
</s:Envelope>