56 lines
1.8 KiB
Markdown
56 lines
1.8 KiB
Markdown
|
# Introduction
|
||
|
`DeleteMember` is one of the SOAP actions the [Contact Sharing Service](../sharingservice.md) provides.
|
||
|
|
||
|
Deletes a user from the Allow List (AL), Block List (BL), or the Pending List (PL).
|
||
|
|
||
|
# Client/Request
|
||
|
The template used in this action is described on the [Address Book Service](../abservice.md) main page.
|
||
|
|
||
|
## DeleteMember
|
||
|
This element has only one attribute:
|
||
|
* `xmlns:` Is always set to `http://www.msn.com/webservices/AddressBook`.
|
||
|
|
||
|
### serviceHandle
|
||
|
This element contains three children:
|
||
|
* `<Id>`: This is always set to `0`.
|
||
|
* `<Type>`: This has only been observed to be `Messenger`.
|
||
|
* `<ForeignId>`: This has only been observed have no content,
|
||
|
but is not an empty element.
|
||
|
|
||
|
### memberships
|
||
|
This element only contains `<Membership>` elements.
|
||
|
|
||
|
#### Membership
|
||
|
This element contains two children:
|
||
|
* `<MemberRole>`: The type of list:
|
||
|
* `Allow`: The Allow List (AL).
|
||
|
* `Block`: The Block List (BL).
|
||
|
* `Pending`: The Pending List (RL).
|
||
|
* `<Members>`: Explained below.
|
||
|
|
||
|
##### Members
|
||
|
This element only contains `<Member>` elements.
|
||
|
|
||
|
###### Member
|
||
|
This element has two attributes:
|
||
|
* `xsi:type`: The type of this `<Member>`:
|
||
|
* `PassportMember`
|
||
|
* `EmailMember`
|
||
|
* `PhoneMember`
|
||
|
* `xmlns:xsi`: This is always set to `http://www.w3.org/2001/XMLSchema-instance`.
|
||
|
|
||
|
This element contains three children:
|
||
|
* `<Type>`: The type of this `<Member>`:
|
||
|
* `Passport`
|
||
|
* `Email`
|
||
|
* `Phone`
|
||
|
* `<MembershipId>`: The ID of the membership you would like to delete.
|
||
|
* `<State>`: This is usually only set to `Accepted`, but `Pending` is a valid value.
|
||
|
|
||
|
# Server/Response
|
||
|
The template used in this action is described on the [Address Book Service](../abservice.md) main page.
|
||
|
|
||
|
## DeleteMemberResponse
|
||
|
This empty element has only one attribute:
|
||
|
* `xmlns:` Is always set to `http://www.msn.com/webservices/AddressBook`.
|