Method DeleteDocumentShare
DeleteDocumentShare(String, String)
Deletes a document share
Declaration
void DeleteDocumentShare(string connectionId, string documentShareId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | documentShareId | The document share id. See also Id |
Remarks
You need "GrantAccessToOtherUsers" access right on each document of the document share in order to delete the share. See also AccessRightsEnum
Examples
POST http://YourServerName/InfoShare/Json/Document/DeleteDocumentShare
Example for delete a document share.{
"connectionId": "1fbe116a-20a9-4378-b198-6cf3283f0238",
"documentShareId": "d2c01001-18d0-e911-a93a-00155d290a11"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Not allowed (10014) |
ServiceException | Document share not found {documentShareId} (10104) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |