Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


Deletes an existing folder in Optimizely Campaign.

The folder to be deleted must be empty.

Type: boolean


sessionIdStringID of the current session
folderIdlongID of the folder to be deleted

Return values

  • true: The folder was successfully deleted.
  • false: The folder could not be deleted (e.g., because it is not empty).

Code structure

boolean removeFolder(String sessionId, long folderId)