Delete a project
Delete an Error Tracking project with its DSN keys, issues and events.
Last updated 18 November 2026View as Markdown
Replace project-id with the project's id.
Warning
Deleting a project cannot be undone. Its issues, events, alert rules and settings are gone, and SDKs still sending with its DSN are refused.
Prerequisites
- Permission for
errors:DeleteProjecton the project. Without it, the console shows Delete project as unavailable, with the note "Deleting needs errors:DeleteProject on this project." - In the console, also
errors:ListProjectson the project to open it (without it the project is not found). - Disconnect the apps connected to the project first (see Connect an app): a connected app's build or rollout fails until the deletion has finished in the background.
Delete the project
- Open the project, then the Settings tab.
- Under Danger zone, choose Delete project.
- Enter the project's name, then choose Delete project.
The console returns to Projects.
dcloud errors projects delete project-idDELETE /errors/api/projects/project-idThe answer is 200 with the project's id; 404 when it does not exist.
Remove the dcloud_errors_project resource and run terraform apply.
Result
- Every DSN key of the project is revoked at once; the ingest refuses them within seconds.
- The project's source-map uploader is removed, so upload tokens handed out for it stop working.
- Its slug is free for a new project.
- Its issues, events, transactions, profiles, sessions and alert rules are deleted in the background, and its connections to apps and CI environments are removed with them.
The managed DSN entry in Secrets, when the project had one, is not deleted with it.
Related
Did this page help you?