You are here

You are here

Delete a Folder

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

Vertical Tabs

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