// DELETE: localhost/folder/ikea-berlin public string Delete(string name) { try { using (FolderService folderService = new FolderService()) { FolderService.FolderProcess state = folderService.DeleteByName(GetAuthKeyFromHeader(), name); return(new JavaScriptSerializer().Serialize(new { state = state.ToString() })); } } catch (Exception ex) { throw ex; } }