Cobra Help

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 setting informs Cobra to run the Delete Project process.

DeleteProject

Project

This setting refers to the project you want to delete.

The project name is case-sensitive. This setting is required.

DEMOADV

DeleteCalendar

If the 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.
  • When you delete a project, Cobra does not delete the process logs associated with it.

Sample Script

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

[Process019]
ProcessID=DeleteProject
Project =DEMOADV
DeleteCalendar=1

How to...

Run the API Script

Create Windows Shortcut for the API Script


Learn more about...

API Script

Project Template Creation


Parent Topic:

Process Sections of the API Script