apidocs

RemoveUsergroupFromDocumentSubscribers API

Removes a specified user group from the subscription list of a document. After removal, members of that group will no longer receive email notifications via the group subscription for any events on that document. Use this API to clean up group subscriptions when a group no longer needs to track a document.

Endpoint


/srv.asmx/RemoveUsergroupFromDocumentSubscribers

Methods

Parameters

Parameter Type Required Description
authenticationTicket string Yes Authentication ticket obtained from AuthenticateUser.
documentPath string Yes Full infoRouter path to the document (e.g. /Finance/Reports/Q1-Report.pdf). Supports short document ID paths (~D{id} or ~D{id}.ext).
groupName string Yes Name of the user group to remove from the subscription list. Can be a local or global group.

Response

Success Response


<response success="true" error="" />

Error Response


<response success="false" error="User group not found." />


Required Permissions

The calling user must be authenticated. To remove a user group from the subscription list, the calling user must have write access or manage access to the document.


Example

GET Request


GET /srv.asmx/RemoveUsergroupFromDocumentSubscribers

  ?authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301

  &documentPath=/Finance/Reports/Q1-2024-Report.pdf

  &groupName=Finance-Managers

HTTP/1.1

POST Request


POST /srv.asmx/RemoveUsergroupFromDocumentSubscribers HTTP/1.1

Content-Type: application/x-www-form-urlencoded



authenticationTicket=3f2504e0-4f89-11d3-9a0c-0305e82c3301

&documentPath=/Finance/Reports/Q1-2024-Report.pdf

&groupName=Finance-Managers

SOAP Request


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

               xmlns:tns="http://tempuri.org/">

  <soap:Body>

    <tns:RemoveUsergroupFromDocumentSubscribers>

      <tns:AuthenticationTicket>3f2504e0-4f89-11d3-9a0c-0305e82c3301</tns:AuthenticationTicket>

      <tns:DocumentPath>/Finance/Reports/Q1-2024-Report.pdf</tns:DocumentPath>

      <tns:groupName>Finance-Managers</tns:groupName>

    </tns:RemoveUsergroupFromDocumentSubscribers>

  </soap:Body>

</soap:Envelope>


Notes



Error Codes

Error Description
[900] Authentication failed Invalid or missing authentication ticket.
[901] Session expired or Invalid ticket The ticket has expired or does not exist.
Document not found The specified documentPath does not resolve to an existing document.
User group not found The specified groupName does not match an existing user group.
Insufficient rights The calling user does not have permission to manage subscriptions for this document.
SystemError:... An unexpected server-side error occurred.