You are here

You are here

Delete a Document

The Delete method is used to delete any SCMBaseObject, including documents.  The method requires the object Id of the document to delete.  There is no return parameter.  If the delete is unsuccessful and exception will be thrown.

Vertical Tabs

c#
string documentId = "<Source document Id retrieved by other method calls>";
springCMService.Delete(token,SCMObjectType.Document,documentId);
java
String documentId = "<Source document Id retrieved by other method calls>";
springCMService.delete(token,SCMObjectType.Document,documentId);