Removes all folder and document subscriptions for the specified user. This is a bulk operation that clears all subscription entries at once.
/srv.asmx/RemoveAllSubscriptions
/srv.asmx/RemoveAllSubscriptions?authenticationTicket=...&userName=.../srv.asmx/RemoveAllSubscriptions (form data)http://tempuri.org/RemoveAllSubscriptions| Parameter | Type | Required | Description |
|---|---|---|---|
authenticationTicket |
string | Yes | Authentication ticket obtained from AuthenticateUser |
userName |
string | Yes | The username whose subscriptions to remove |
<root success="true" />
<root success="false" error="[ErrorCode] Error message" />
Access is granted if any of the following conditions are met:
userNameIf none of these conditions are met, an access denied error is returned.
GET /srv.asmx/RemoveAllSubscriptions?authenticationTicket=abc123-def456&userName=jsmith HTTP/1.1
POST /srv.asmx/RemoveAllSubscriptions HTTP/1.1
Content-Type: application/x-www-form-urlencoded
authenticationTicket=abc123-def456&userName=jsmith
POST /srv.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/RemoveAllSubscriptions"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<RemoveAllSubscriptions xmlns="http://tempuri.org/">
<authenticationTicket>abc123-def456</authenticationTicket>
<userName>jsmith</userName>
</RemoveAllSubscriptions>
</soap:Body>
</soap:Envelope>
RemoveUserFromFolderSubscribers to remove a user from a single folder’s subscription listRemoveUserFromDocumentSubscribers to remove a user from a single document’s subscription listGetSubscriptionsByUser to retrieve the current subscriptions before removing them