Function: deleteProject()
ts
function deleteProject(client, parameters): Promise<void>;Defined in: src/cloud/api/projects.ts:178
Deletes a project.
You can't delete a project if it's archived. To delete an archived project, restore the project and then delete it. To restore a project, use the Jira UI.
Permissions required:Administer Jira global permission.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { enableUndo?: boolean; projectIdOrKey: string; } | - |
parameters.enableUndo? | boolean | Whether this project is placed in the Jira recycle bin where it will be available for restoration. |
parameters.projectIdOrKey | string | The project ID or project key (case sensitive). |
Returns
Promise<void>