Projects
Delete a project for a workspace
Deletes this project. This is an irreversible operation.
You cannot delete a project that still contains repositories. To delete the project, delete or transfer the repositories first.
Example:
$ curl -X DELETE https://api.bitbucket.org/2.0/workspaces/bbworkspace1/projects/PROJ
delete/workspaces/{workspace}/projects/{project_key}
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/workspaces/{workspace}/projects/{project_key}
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: project:admin
- or HTTP basic
- or API key in header Authorization
Response
Successful deletion.
Changes
No recorded changes to this operation across all 15 revisions of this API.