Projects

Delete project

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.

delete/rest/api/2/project/{projectIdOrKey}

Request

  • Base URL: https://your-domain.atlassian.net
  • URL: https://your-domain.atlassian.net/rest/api/2/project/{projectIdOrKey}
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: manage:jira-configuration)
    • none

Path parameters

projectIdOrKeystring required
Example:10001

The project ID or project key (case sensitive).

Query parameters

enableUndoboolean

Whether this project is placed in the Jira recycle bin where it will be available for restoration.

Response

Returned if the project is deleted.

Changes

No recorded changes to this operation across all 26 revisions of this API.