This method is intended to remove a document. If the related Document is no more referenced by any Attachment (no more associated to any Interaction or StandardResponse), the Document record is also removed from database.
- DELETE /OMInteractions/RemoveDocument/
|DocumentId||String||Max. length: 16 characters||The Document which will be removed from database||true||true|
|InteractionId||String||Max. length: 16 characters|| If InteractionId parameter is available, all links from this Interaction to the specified Document are removed.
Otherwise, all links from all Interactions to this Document are removed, and the Document itself is also removed.