Overview:
Only organization and project admins can perform a project deletion.
If you receive an error when attempting this, please open a support ticket for assistance.
Through the UI:
To delete a project via the UI, first navigate to the relevant project's settings page.
From there, select the Overview tab and scroll to the bottom, where you will see the Delete Project button:
Click on this button and follow the displayed prompt to delete your project.
Through the API:
To delete a project through the API, you simply need to make a DELETE request to the project API endpoint.
The following snippet can be used as an example, making sure to replace the relevant authentication and project slug:
curl --request DELETE \
--url https://circleci.com/api/v2/project/<project-slug> \
--header "Circle-Token: ${CIRCLE_TOKEN}"Further Reading:
More information on this can be found in our documentation.