Delete Project Process

Use the Delete Project API process to automatically delete projects.

Process Settings

Below are the settings you must define for the Delete Project API process:

Setting Description Sample Value
ProcessID This ID informs Cobra to run the Delete Project process. DeleteProject
Project This setting refers to the project you want to delete. DEMOADV
DeleteCalendar If value is set to 1, Cobra deletes the calendar associated with the project when the project is deleted.

This setting is optional and the default value is 0.

1
Note: If security is enabled, you must have modify and delete rights to both the project and the calendar to delete both of them.

Sample Script

Below is a sample script file for the Delete Project API process:

[Process019]

ProcessID=DeleteProject

Project =DEMOADV

DeleteCalendar=1